Enum malachite_base::nevers::Never
source · pub enum Never {}
Expand description
Never
is a type that cannot be instantiated.
This is a bottom type.
§Examples
use malachite_base::nevers::Never;
let x: Option<Never> = None;
Trait Implementations§
source§impl FromStr for Never
impl FromStr for Never
§type Err = NeverError
type Err = NeverError
The associated error which can be returned from parsing.
source§impl Ord for Never
impl Ord for Never
source§impl PartialEq for Never
impl PartialEq for Never
source§impl PartialOrd for Never
impl PartialOrd for Never
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Never
impl Eq for Never
impl StructuralPartialEq for Never
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