Enum espr::ast::Declaration [−][src]
pub enum Declaration {
Entity(Entity),
Type(TypeDecl),
Function(Function),
Procedure(Procedure),
Rule(Rule),
SubTypeConstraint(SubTypeConstraint),
}
Variants
Entity(Entity)
Tuple Fields of Entity
0: Entity
Type(TypeDecl)
Tuple Fields of Type
0: TypeDecl
Function(Function)
Tuple Fields of Function
0: Function
Procedure(Procedure)
Tuple Fields of Procedure
0: Procedure
Rule(Rule)
Tuple Fields of Rule
0: Rule
SubTypeConstraint(SubTypeConstraint)
Tuple Fields of SubTypeConstraint
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for Declaration
impl Send for Declaration
impl Sync for Declaration
impl Unpin for Declaration
impl UnwindSafe for Declaration
Blanket Implementations
Mutably borrows from an owned value. Read more