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