pub enum MatchBody {
Expression(Box<Expression>),
Block(Block),
}Expand description
Body of a match arm
Variants§
Expression(Box<Expression>)
Block(Block)
Trait Implementations§
impl StructuralPartialEq for MatchBody
Auto Trait Implementations§
impl Freeze for MatchBody
impl RefUnwindSafe for MatchBody
impl Send for MatchBody
impl Sync for MatchBody
impl Unpin for MatchBody
impl UnwindSafe for MatchBody
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