Enum rustc_feature::AttributeType [−][src]
pub enum AttributeType {
Normal,
AssumedUsed,
CrateLevel,
}Variants
Normal, builtin attribute that is consumed by the compiler before the unused_attribute check
Builtin attribute that may not be consumed by the compiler before the unused_attribute check. These attributes will be ignored by the unused_attribute lint
Builtin attribute that is only allowed at the crate level
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for AttributeTypeimpl Send for AttributeTypeimpl Sync for AttributeTypeimpl Unpin for AttributeTypeimpl UnwindSafe for AttributeTypeBlanket 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: 1 byte