pub struct Match<'a> {
pub ws1: Ws,
pub expr: Expr<'a>,
pub arms: Vec<When<'a>>,
pub ws2: Ws,
}
Fields§
§ws1: Ws
§expr: Expr<'a>
§arms: Vec<When<'a>>
§ws2: Ws
Trait Implementations§
impl<'a> StructuralPartialEq for Match<'a>
Auto Trait Implementations§
impl<'a> Freeze for Match<'a>
impl<'a> RefUnwindSafe for Match<'a>
impl<'a> Send for Match<'a>
impl<'a> Sync for Match<'a>
impl<'a> Unpin for Match<'a>
impl<'a> UnwindSafe for Match<'a>
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