Enum syntax::feature_gate::AttributeType [−][src]
pub enum AttributeType { Normal, Whitelisted, CrateLevel, }
Variants
Normal
Normal, builtin attribute that is consumed by the compiler before the unused_attribute check
Whitelisted
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
CrateLevel
Builtin attribute that is only allowed at the crate level
Trait Implementations
impl PartialEq for AttributeType
[src]
impl PartialEq for AttributeType
fn eq(&self, other: &AttributeType) -> bool
[src]
fn eq(&self, other: &AttributeType) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Copy for AttributeType
[src]
impl Copy for AttributeType
impl Clone for AttributeType
[src]
impl Clone for AttributeType
fn clone(&self) -> AttributeType
[src]
fn clone(&self) -> AttributeType
Returns 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 AttributeType
Auto Trait Implementations
impl Send for AttributeType
impl Send for AttributeType
impl Sync for AttributeType
impl Sync for AttributeType