Enum rustc_codegen_llvm::llvm::MetadataType
source · #[repr(C)]pub enum MetadataType {
Show 17 variants
MD_dbg,
MD_tbaa,
MD_prof,
MD_fpmath,
MD_range,
MD_tbaa_struct,
MD_invariant_load,
MD_alias_scope,
MD_noalias,
MD_nontemporal,
MD_mem_parallel_loop_access,
MD_nonnull,
MD_align,
MD_type,
MD_vcall_visibility,
MD_noundef,
MD_kcfi_type,
}
Expand description
LLVMMetadataType
Variants§
MD_dbg
MD_tbaa
MD_prof
MD_fpmath
MD_range
MD_tbaa_struct
MD_invariant_load
MD_alias_scope
MD_noalias
MD_nontemporal
MD_mem_parallel_loop_access
MD_nonnull
MD_align
MD_type
MD_vcall_visibility
MD_noundef
MD_kcfi_type
Trait Implementations§
source§impl Clone for MetadataType
impl Clone for MetadataType
source§fn clone(&self) -> MetadataType
fn clone(&self) -> MetadataType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for MetadataType
Auto Trait Implementations§
impl RefUnwindSafe for MetadataType
impl Send for MetadataType
impl Sync for MetadataType
impl Unpin for MetadataType
impl UnwindSafe for MetadataType
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 4 bytes
Size for each variant:
MD_dbg
: 0 bytesMD_tbaa
: 0 bytesMD_prof
: 0 bytesMD_fpmath
: 0 bytesMD_range
: 0 bytesMD_tbaa_struct
: 0 bytesMD_invariant_load
: 0 bytesMD_alias_scope
: 0 bytesMD_noalias
: 0 bytesMD_nontemporal
: 0 bytesMD_mem_parallel_loop_access
: 0 bytesMD_nonnull
: 0 bytesMD_align
: 0 bytesMD_type
: 0 bytesMD_vcall_visibility
: 0 bytesMD_noundef
: 0 bytesMD_kcfi_type
: 0 bytes