pub enum Never {}Expand description
An uninhabited type for use in pattern-wishcast generated code.
When the never_type feature is enabled, this is an alias to the unstable never type (!).
Otherwise, this is a stable equivalent enum that works on stable Rust.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Never
impl RefUnwindSafe for Never
impl Send for Never
impl Sync for Never
impl Unpin for Never
impl UnwindSafe for Never
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