Enum syntax::feature_gate::AttributeType [−][src]
pub enum AttributeType {
Normal,
Whitelisted,
CrateLevel,
}Variants
NormalNormal, builtin attribute that is consumed by the compiler before the unused_attribute check
WhitelistedBuiltin attribute that may not be consumed by the compiler before the unused_attribute check. These attributes will be ignored by the unused_attribute lint
CrateLevelBuiltin attribute that is only allowed at the crate level
Trait Implementations
impl PartialEq for AttributeType[src]
impl PartialEq for AttributeTypefn eq(&self, other: &AttributeType) -> bool[src]
fn eq(&self, other: &AttributeType) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
fn ne(&self, other: &Rhs) -> bool1.0.0
[src]This method tests for !=.
impl Copy for AttributeType[src]
impl Copy for AttributeTypeimpl Clone for AttributeType[src]
impl Clone for AttributeTypefn clone(&self) -> AttributeType[src]
fn clone(&self) -> AttributeTypeReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for AttributeType[src]
impl Debug for AttributeTypeAuto Trait Implementations
impl Send for AttributeType
impl Send for AttributeTypeimpl Sync for AttributeType
impl Sync for AttributeType