pub struct TypeSwitch<T> { /* private fields */ }
Expand description
Advanced type switching
Implementations§
Auto Trait Implementations§
impl<T> Freeze for TypeSwitch<T>
impl<T> RefUnwindSafe for TypeSwitch<T>where
T: RefUnwindSafe,
impl<T> Send for TypeSwitch<T>where
T: Send,
impl<T> Sync for TypeSwitch<T>where
T: Sync,
impl<T> Unpin for TypeSwitch<T>where
T: Unpin,
impl<T> UnwindSafe for TypeSwitch<T>where
T: UnwindSafe,
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