pub enum GadtConstructorType<'tree> {
Prefix(Box<Prefix<'tree>>),
Record(Box<Record<'tree>>),
}Variants§
Trait Implementations§
Source§impl<'tree> Clone for GadtConstructorType<'tree>
impl<'tree> Clone for GadtConstructorType<'tree>
Source§fn clone(&self) -> GadtConstructorType<'tree>
fn clone(&self) -> GadtConstructorType<'tree>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'tree> Debug for GadtConstructorType<'tree>
impl<'tree> Debug for GadtConstructorType<'tree>
Source§impl<'tree> FromNode<'tree> for GadtConstructorType<'tree>
impl<'tree> FromNode<'tree> for GadtConstructorType<'tree>
Source§impl<'tree> PartialEq for GadtConstructorType<'tree>
impl<'tree> PartialEq for GadtConstructorType<'tree>
Source§impl Spanned for GadtConstructorType<'_>
impl Spanned for GadtConstructorType<'_>
impl<'tree> Eq for GadtConstructorType<'tree>
impl<'tree> StructuralPartialEq for GadtConstructorType<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for GadtConstructorType<'tree>
impl<'tree> RefUnwindSafe for GadtConstructorType<'tree>
impl<'tree> Send for GadtConstructorType<'tree>
impl<'tree> Sync for GadtConstructorType<'tree>
impl<'tree> Unpin for GadtConstructorType<'tree>
impl<'tree> UnsafeUnpin for GadtConstructorType<'tree>
impl<'tree> UnwindSafe for GadtConstructorType<'tree>
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