Enum syntex_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

Derived Implementations

impl Debug for AttributeType
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Clone for AttributeType
[src]

fn clone(&self) -> AttributeType

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Copy for AttributeType
[src]

impl PartialEq for AttributeType
[src]

fn eq(&self, __arg_0: &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

This method tests for !=.