Struct witx::parser::VariantSyntax [−][src]
pub struct VariantSyntax<'a> {
pub tag: Option<Box<TypedefSyntax<'a>>>,
pub cases: Vec<Documented<'a, CaseSyntax<'a>>>,
}Fields
tag: Option<Box<TypedefSyntax<'a>>>cases: Vec<Documented<'a, CaseSyntax<'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 VariantSyntax<'a>
impl<'a> Send for VariantSyntax<'a>
impl<'a> Sync for VariantSyntax<'a>
impl<'a> Unpin for VariantSyntax<'a>
impl<'a> UnwindSafe for VariantSyntax<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more