pub struct When<'tree> {
pub span: Span,
pub body: Option<Then<'tree>>,
pub pattern: Vec<Pattern<'tree>>,
}Fields§
§span: Span§body: Option<Then<'tree>>§pattern: Vec<Pattern<'tree>>Trait Implementations§
impl<'tree> Eq for When<'tree>
impl<'tree> StructuralPartialEq for When<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for When<'tree>
impl<'tree> RefUnwindSafe for When<'tree>
impl<'tree> Send for When<'tree>
impl<'tree> Sync for When<'tree>
impl<'tree> Unpin for When<'tree>
impl<'tree> UnsafeUnpin for When<'tree>
impl<'tree> UnwindSafe for When<'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