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