Enum gluon_parser::Variant
source · pub enum Variant<'ast, Id> {
Gadt(Sp<Id>, AstType<'ast, Id>),
Simple(Sp<Id>, Vec<AstType<'ast, Id>>),
}
Variants§
Auto Trait Implementations§
impl<'ast, Id> RefUnwindSafe for Variant<'ast, Id>where
Id: RefUnwindSafe,
impl<'ast, Id> Send for Variant<'ast, Id>where
Id: Send,
impl<'ast, Id> Sync for Variant<'ast, Id>where
Id: Sync,
impl<'ast, Id> Unpin for Variant<'ast, Id>where
Id: Unpin,
impl<'ast, Id> !UnwindSafe for Variant<'ast, Id>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more