pub enum NeverType {}
Expand description
This is a workaround solution to the never
type in Rust. It will be replaced by !
once it is stable.
Trait Implementations§
impl Send for NeverType
impl Sync for NeverType
Auto Trait Implementations§
impl Freeze for NeverType
impl RefUnwindSafe for NeverType
impl Unpin for NeverType
impl UnwindSafe for NeverType
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