Enum cl_structures::stack::InsertFailed
source · pub enum InsertFailed<const N: usize> {
Bounds(usize),
Full,
}
Variants§
Trait Implementations§
source§impl<const N: usize> Clone for InsertFailed<N>
impl<const N: usize> Clone for InsertFailed<N>
source§fn clone(&self) -> InsertFailed<N>
fn clone(&self) -> InsertFailed<N>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<const N: usize> Debug for InsertFailed<N>
impl<const N: usize> Debug for InsertFailed<N>
source§impl<const N: usize> Display for InsertFailed<N>
impl<const N: usize> Display for InsertFailed<N>
source§impl<const N: usize> Error for InsertFailed<N>
impl<const N: usize> Error for InsertFailed<N>
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl<const N: usize> Hash for InsertFailed<N>
impl<const N: usize> Hash for InsertFailed<N>
source§impl<const N: usize> Ord for InsertFailed<N>
impl<const N: usize> Ord for InsertFailed<N>
source§fn cmp(&self, other: &InsertFailed<N>) -> Ordering
fn cmp(&self, other: &InsertFailed<N>) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl<const N: usize> PartialEq for InsertFailed<N>
impl<const N: usize> PartialEq for InsertFailed<N>
source§fn eq(&self, other: &InsertFailed<N>) -> bool
fn eq(&self, other: &InsertFailed<N>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<const N: usize> PartialOrd for InsertFailed<N>
impl<const N: usize> PartialOrd for InsertFailed<N>
source§fn partial_cmp(&self, other: &InsertFailed<N>) -> Option<Ordering>
fn partial_cmp(&self, other: &InsertFailed<N>) -> Option<Ordering>
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<const N: usize> Eq for InsertFailed<N>
impl<const N: usize> StructuralPartialEq for InsertFailed<N>
Auto Trait Implementations§
impl<const N: usize> Freeze for InsertFailed<N>
impl<const N: usize> RefUnwindSafe for InsertFailed<N>
impl<const N: usize> Send for InsertFailed<N>
impl<const N: usize> Sync for InsertFailed<N>
impl<const N: usize> Unpin for InsertFailed<N>
impl<const N: usize> UnwindSafe for InsertFailed<N>
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