pub struct CasePattern<'tree> {
pub span: Span,
pub children: Option<CasePatternChildren<'tree>>,
}Fields§
§span: Span§children: Option<CasePatternChildren<'tree>>Trait Implementations§
Source§impl<'tree> Clone for CasePattern<'tree>
impl<'tree> Clone for CasePattern<'tree>
Source§fn clone(&self) -> CasePattern<'tree>
fn clone(&self) -> CasePattern<'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 CasePattern<'tree>
impl<'tree> Debug for CasePattern<'tree>
Source§impl<'tree> FromNode<'tree> for CasePattern<'tree>
impl<'tree> FromNode<'tree> for CasePattern<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for CasePattern<'tree>
impl<'tree> RefUnwindSafe for CasePattern<'tree>
impl<'tree> Send for CasePattern<'tree>
impl<'tree> Sync for CasePattern<'tree>
impl<'tree> Unpin for CasePattern<'tree>
impl<'tree> UnsafeUnpin for CasePattern<'tree>
impl<'tree> UnwindSafe for CasePattern<'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