pub enum NewtypeConstructorField<'tree> {
Field(Box<Field<'tree>>),
Record(Box<Record<'tree>>),
}Variants§
Trait Implementations§
Source§impl<'tree> Clone for NewtypeConstructorField<'tree>
impl<'tree> Clone for NewtypeConstructorField<'tree>
Source§fn clone(&self) -> NewtypeConstructorField<'tree>
fn clone(&self) -> NewtypeConstructorField<'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 NewtypeConstructorField<'tree>
impl<'tree> Debug for NewtypeConstructorField<'tree>
impl<'tree> Eq for NewtypeConstructorField<'tree>
Source§impl<'tree> FromNode<'tree> for NewtypeConstructorField<'tree>
impl<'tree> FromNode<'tree> for NewtypeConstructorField<'tree>
Source§impl<'tree> PartialEq for NewtypeConstructorField<'tree>
impl<'tree> PartialEq for NewtypeConstructorField<'tree>
Source§impl Spanned for NewtypeConstructorField<'_>
impl Spanned for NewtypeConstructorField<'_>
impl<'tree> StructuralPartialEq for NewtypeConstructorField<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for NewtypeConstructorField<'tree>
impl<'tree> RefUnwindSafe for NewtypeConstructorField<'tree>
impl<'tree> Send for NewtypeConstructorField<'tree>
impl<'tree> Sync for NewtypeConstructorField<'tree>
impl<'tree> Unpin for NewtypeConstructorField<'tree>
impl<'tree> UnsafeUnpin for NewtypeConstructorField<'tree>
impl<'tree> UnwindSafe for NewtypeConstructorField<'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