Enum syntax::parse::parser::restriction[src]

pub enum restriction {
    UNRESTRICTED,
    RESTRICT_STMT_EXPR,
    RESTRICT_NO_BAR_OP,
    RESTRICT_NO_BAR_OR_DOUBLEBAR_OP,
    RESTRICT_NO_STRUCT_LITERAL,
}

Variants

UNRESTRICTED
RESTRICT_STMT_EXPR
RESTRICT_NO_BAR_OP
RESTRICT_NO_BAR_OR_DOUBLEBAR_OP
RESTRICT_NO_STRUCT_LITERAL

Trait Implementations

Derived Implementations

impl PartialEq for restriction

fn eq(&self, __arg_0: &restriction) -> bool

fn ne(&self, __arg_0: &restriction) -> bool