pub enum PatternChildren<'tree> {
RecordPattern(Box<RecordPattern<'tree>>),
TypePattern(Box<TypePattern<'tree>>),
}Variants§
RecordPattern(Box<RecordPattern<'tree>>)
TypePattern(Box<TypePattern<'tree>>)
Trait Implementations§
Source§impl<'tree> Clone for PatternChildren<'tree>
impl<'tree> Clone for PatternChildren<'tree>
Source§fn clone(&self) -> PatternChildren<'tree>
fn clone(&self) -> PatternChildren<'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 PatternChildren<'tree>
impl<'tree> Debug for PatternChildren<'tree>
Source§impl<'tree> FromNode<'tree> for PatternChildren<'tree>
impl<'tree> FromNode<'tree> for PatternChildren<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for PatternChildren<'tree>
impl<'tree> RefUnwindSafe for PatternChildren<'tree>
impl<'tree> Send for PatternChildren<'tree>
impl<'tree> Sync for PatternChildren<'tree>
impl<'tree> Unpin for PatternChildren<'tree>
impl<'tree> UnsafeUnpin for PatternChildren<'tree>
impl<'tree> UnwindSafe for PatternChildren<'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