Enum witx::parser::DeclSyntax [−][src]
pub enum DeclSyntax<'a> {
Typename(TypenameSyntax<'a>),
Module(ModuleSyntax<'a>),
Const(Documented<'a, ConstSyntax<'a>>),
}
Variants
Typename(TypenameSyntax<'a>)
Tuple Fields of Typename
0: TypenameSyntax<'a>
Module(ModuleSyntax<'a>)
Tuple Fields of Module
0: ModuleSyntax<'a>
Const(Documented<'a, ConstSyntax<'a>>)
Tuple Fields of Const
0: Documented<'a, ConstSyntax<'a>>
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<'a> RefUnwindSafe for DeclSyntax<'a>
impl<'a> Send for DeclSyntax<'a>
impl<'a> Sync for DeclSyntax<'a>
impl<'a> Unpin for DeclSyntax<'a>
impl<'a> UnwindSafe for DeclSyntax<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more