pub struct Switch<'a, T> { /* private fields */ }Expand description
An option parameter that takes no values (precisely 0).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a, T> Freeze for Switch<'a, T>where
T: Freeze,
impl<'a, T> !RefUnwindSafe for Switch<'a, T>
impl<'a, T> !Send for Switch<'a, T>
impl<'a, T> !Sync for Switch<'a, T>
impl<'a, T> Unpin for Switch<'a, T>where
T: Unpin,
impl<'a, T> !UnwindSafe for Switch<'a, T>
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