pub struct GadtConstructor<'tree> {
pub span: Span,
pub context: Option<Context<'tree>>,
pub forall: Option<GadtConstructorForall<'tree>>,
pub name: Option<GadtConstructorName<'tree>>,
pub names: Option<BindingList<'tree>>,
pub type: GadtConstructorType<'tree>,
}Fields§
§span: Span§context: Option<Context<'tree>>§forall: Option<GadtConstructorForall<'tree>>§name: Option<GadtConstructorName<'tree>>§names: Option<BindingList<'tree>>§type: GadtConstructorType<'tree>Trait Implementations§
Source§impl<'tree> Clone for GadtConstructor<'tree>
impl<'tree> Clone for GadtConstructor<'tree>
Source§fn clone(&self) -> GadtConstructor<'tree>
fn clone(&self) -> GadtConstructor<'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 GadtConstructor<'tree>
impl<'tree> Debug for GadtConstructor<'tree>
impl<'tree> Eq for GadtConstructor<'tree>
Source§impl<'tree> FromNode<'tree> for GadtConstructor<'tree>
impl<'tree> FromNode<'tree> for GadtConstructor<'tree>
Source§impl<'tree> PartialEq for GadtConstructor<'tree>
impl<'tree> PartialEq for GadtConstructor<'tree>
Source§fn eq(&self, other: &GadtConstructor<'tree>) -> bool
fn eq(&self, other: &GadtConstructor<'tree>) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Spanned for GadtConstructor<'_>
impl Spanned for GadtConstructor<'_>
impl<'tree> StructuralPartialEq for GadtConstructor<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for GadtConstructor<'tree>
impl<'tree> RefUnwindSafe for GadtConstructor<'tree>
impl<'tree> Send for GadtConstructor<'tree>
impl<'tree> Sync for GadtConstructor<'tree>
impl<'tree> Unpin for GadtConstructor<'tree>
impl<'tree> UnsafeUnpin for GadtConstructor<'tree>
impl<'tree> UnwindSafe for GadtConstructor<'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