pub enum StackErr<T>{
ItemTypeDoesNotMatch(ItemStack<T>),
StackSizeOverflow(ItemStack<T>),
}Variants§
Trait Implementations§
Source§impl<T> Ord for StackErr<T>
impl<T> Ord for StackErr<T>
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<T> PartialOrd for StackErr<T>
impl<T> PartialOrd for StackErr<T>
impl<T> Copy for StackErr<T>
impl<T> Eq for StackErr<T>
impl<T> StructuralPartialEq for StackErr<T>
Auto Trait Implementations§
impl<T> Freeze for StackErr<T>where
T: Freeze,
impl<T> RefUnwindSafe for StackErr<T>where
T: RefUnwindSafe,
impl<T> Send for StackErr<T>where
T: Send,
impl<T> Sync for StackErr<T>where
T: Sync,
impl<T> Unpin for StackErr<T>where
T: Unpin,
impl<T> UnwindSafe for StackErr<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