Enum witx::parser::TopLevelSyntax [−][src]
pub enum TopLevelSyntax<'a> {
Decl(DeclSyntax<'a>),
Use(&'a str),
}Variants
Decl(DeclSyntax<'a>)Tuple Fields of Decl
0: DeclSyntax<'a>Use(&'a str)Tuple Fields of Use
0: &'a strTrait 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 TopLevelSyntax<'a>
impl<'a> Send for TopLevelSyntax<'a>
impl<'a> Sync for TopLevelSyntax<'a>
impl<'a> Unpin for TopLevelSyntax<'a>
impl<'a> UnwindSafe for TopLevelSyntax<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more