pub enum GadtConstructorName<'tree> {
Constructor(Box<Constructor<'tree>>),
PrefixId(Box<PrefixId<'tree>>),
}Variants§
Trait Implementations§
Source§impl<'tree> Clone for GadtConstructorName<'tree>
impl<'tree> Clone for GadtConstructorName<'tree>
Source§fn clone(&self) -> GadtConstructorName<'tree>
fn clone(&self) -> GadtConstructorName<'tree>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GadtConstructorName<'tree>
impl<'tree> Debug for GadtConstructorName<'tree>
impl<'tree> Eq for GadtConstructorName<'tree>
Source§impl<'tree> FromNode<'tree> for GadtConstructorName<'tree>
impl<'tree> FromNode<'tree> for GadtConstructorName<'tree>
Source§impl<'tree> PartialEq for GadtConstructorName<'tree>
impl<'tree> PartialEq for GadtConstructorName<'tree>
Source§impl Spanned for GadtConstructorName<'_>
impl Spanned for GadtConstructorName<'_>
impl<'tree> StructuralPartialEq for GadtConstructorName<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for GadtConstructorName<'tree>
impl<'tree> RefUnwindSafe for GadtConstructorName<'tree>
impl<'tree> Send for GadtConstructorName<'tree>
impl<'tree> Sync for GadtConstructorName<'tree>
impl<'tree> Unpin for GadtConstructorName<'tree>
impl<'tree> UnsafeUnpin for GadtConstructorName<'tree>
impl<'tree> UnwindSafe for GadtConstructorName<'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