pub enum Attribute {
Enum(u64),
Integer(u64, u64),
String(String, String),
}Expand description
An attribute of an attribute group, as the bitcode stores it.
Variants§
Enum(u64)
A flag attribute, by LLVM’s bitcode kind number (see attribute_name).
Integer(u64, u64)
An attribute with an integer value: its kind number and the value.
String(String, String)
A string attribute: the key and the value (empty where the attribute has none).
Trait Implementations§
impl Eq for Attribute
impl StructuralPartialEq for Attribute
Auto Trait Implementations§
impl Forget for Attribute
impl Freeze for Attribute
impl RefUnwindSafe for Attribute
impl Send for Attribute
impl Sync for Attribute
impl Unpin for Attribute
impl UnsafeUnpin for Attribute
impl UnwindSafe for Attribute
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