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]
fn eq(&self, __arg_0: &AttributeType) -> bool[src]
This 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]
This method tests for !=.
impl Copy for AttributeType[src]
impl Clone for AttributeType[src]
fn clone(&self) -> AttributeType[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more