Enum llvm_mapper::block::attributes::Attribute [−][src]
#[non_exhaustive]
pub enum Attribute {
Enum(EnumAttribute),
Int(IntAttribute),
Str(String),
StrKeyValue(String, String),
}
Expand description
Represents a single, concrete LLVM attribute.
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.
Enum(EnumAttribute)
An enumerated attribute.
Tuple Fields of Enum
Int(IntAttribute)
An integer attribute.
Tuple Fields of Int
0: IntAttribute
Str(String)
An arbitrary string attribute.
Tuple Fields of Str
0: String
An arbitrary string attribute with a string value.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Attribute
impl UnwindSafe for Attribute
Blanket Implementations
Mutably borrows from an owned value. Read more