Enum llvm_mapper::block::attributes::Attribute
source · [−]#[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.
Int(IntAttribute)
An integer attribute.
Str(String)
An arbitrary string attribute.
StrKeyValue(String, 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