Enum rustc_codegen_llvm::llvm::MetadataType
source · #[repr(C)]pub enum MetadataType {
Show 17 variants
MD_dbg = 0,
MD_tbaa = 1,
MD_prof = 2,
MD_fpmath = 3,
MD_range = 4,
MD_tbaa_struct = 5,
MD_invariant_load = 6,
MD_alias_scope = 7,
MD_noalias = 8,
MD_nontemporal = 9,
MD_mem_parallel_loop_access = 10,
MD_nonnull = 11,
MD_align = 17,
MD_type = 19,
MD_vcall_visibility = 28,
MD_noundef = 29,
MD_kcfi_type = 36,
}Expand description
LLVMMetadataType
Variants§
MD_dbg = 0
MD_tbaa = 1
MD_prof = 2
MD_fpmath = 3
MD_range = 4
MD_tbaa_struct = 5
MD_invariant_load = 6
MD_alias_scope = 7
MD_noalias = 8
MD_nontemporal = 9
MD_mem_parallel_loop_access = 10
MD_nonnull = 11
MD_align = 17
MD_type = 19
MD_vcall_visibility = 28
MD_noundef = 29
MD_kcfi_type = 36
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