pub struct SwitchCase<'a> {
pub value: SwitchValue<'a>,
pub body: Block<'a>,
pub fall_through: bool,
}
Fields§
§value: SwitchValue<'a>
§body: Block<'a>
§fall_through: bool
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for SwitchCase<'a>
impl<'a> RefUnwindSafe for SwitchCase<'a>
impl<'a> Send for SwitchCase<'a>
impl<'a> Sync for SwitchCase<'a>
impl<'a> Unpin for SwitchCase<'a>
impl<'a> UnwindSafe for SwitchCase<'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