Enum syntex_syntax::feature_gate::AttributeType [] [src]

pub enum AttributeType {
    Normal,
    Whitelisted,
    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

impl PartialEq for AttributeType
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Copy for AttributeType
[src]

impl Clone for AttributeType
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for AttributeType
[src]

Formats the value using the given formatter.