Enum rustc_codegen_llvm::llvm_::ffi::Attribute [−][src]
#[repr(C)]
pub enum Attribute {
Show variants
AlwaysInline,
ByVal,
Cold,
InlineHint,
MinSize,
Naked,
NoAlias,
NoCapture,
NoInline,
NonNull,
NoRedZone,
NoReturn,
NoUnwind,
OptimizeForSize,
ReadOnly,
SExt,
StructRet,
UWTable,
ZExt,
InReg,
SanitizeThread,
SanitizeAddress,
SanitizeMemory,
NonLazyBind,
OptimizeNone,
ReturnsTwice,
ReadNone,
InaccessibleMemOnly,
SanitizeHWAddress,
WillReturn,
}Expand description
Matches LLVMRustAttribute in LLVMWrapper.h Semantically a subset of the C++ enum llvm::Attribute::AttrKind, though it is not ABI compatible (since it’s a C++ enum)
Variants
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Attributeimpl UnwindSafe for AttributeBlanket Implementations
Mutably borrows from an owned value. Read more
Layout
Note: Most layout information is completely unstable and may be different between compiler versions and platforms. 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