Enum llvm_mapper::block::attributes::IntAttribute [−][src]
#[non_exhaustive]
pub enum IntAttribute {
Alignment(Align),
StackAlignment(Align),
Dereferenceable(u64),
DereferenceableOrNull(u64),
AllocSize(u32, Option<u32>),
VScaleRange(u32, u32),
}Expand description
Represents an integral attribute, i.e. an attribute that carries (at least) one integer value with it.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Alignment(Align)align(<n>)
Tuple Fields of Alignment
0: AlignStackAlignment(Align)alignstack(<n>)
Tuple Fields of StackAlignment
0: AlignDereferenceable(u64)dereferenceable(<n>)
Tuple Fields of Dereferenceable
0: u64DereferenceableOrNull(u64)dereferenceable_or_null(<n>)
Tuple Fields of DereferenceableOrNull
0: u64allocsize(<EltSizeParam>[, <NumEltsParam>])
vscale_range(<Min>[, <Max>])
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
type Error = AttributeError
type Error = AttributeError
The type returned in the event of a conversion error.
Auto Trait Implementations
impl RefUnwindSafe for IntAttribute
impl Send for IntAttribute
impl Sync for IntAttribute
impl Unpin for IntAttribute
impl UnwindSafe for IntAttribute
Blanket Implementations
Mutably borrows from an owned value. Read more