pub enum InvAccessErr {
SlotOutOfBounds,
SlotEmpty,
ItemNotFound,
AmountInsufficient,
}Variants§
Trait Implementations§
Source§impl Clone for InvAccessErr
impl Clone for InvAccessErr
Source§fn clone(&self) -> InvAccessErr
fn clone(&self) -> InvAccessErr
Returns a duplicate 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 Debug for InvAccessErr
impl Debug for InvAccessErr
Source§impl Ord for InvAccessErr
impl Ord for InvAccessErr
Source§fn cmp(&self, other: &InvAccessErr) -> Ordering
fn cmp(&self, other: &InvAccessErr) -> 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 PartialEq for InvAccessErr
impl PartialEq for InvAccessErr
Source§impl PartialOrd for InvAccessErr
impl PartialOrd for InvAccessErr
impl Copy for InvAccessErr
impl Eq for InvAccessErr
impl StructuralPartialEq for InvAccessErr
Auto Trait Implementations§
impl Freeze for InvAccessErr
impl RefUnwindSafe for InvAccessErr
impl Send for InvAccessErr
impl Sync for InvAccessErr
impl Unpin for InvAccessErr
impl UnwindSafe for InvAccessErr
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