pub enum ItemStackUpdate {
Empty,
Keep,
Item(ItemStack),
}
Variants§
Trait Implementations§
Source§impl Clone for ItemStackUpdate
impl Clone for ItemStackUpdate
Source§fn clone(&self) -> ItemStackUpdate
fn clone(&self) -> ItemStackUpdate
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ItemStackUpdate
impl Debug for ItemStackUpdate
Source§impl PartialEq for ItemStackUpdate
impl PartialEq for ItemStackUpdate
impl StructuralPartialEq for ItemStackUpdate
Auto Trait Implementations§
impl Freeze for ItemStackUpdate
impl RefUnwindSafe for ItemStackUpdate
impl Send for ItemStackUpdate
impl Sync for ItemStackUpdate
impl Unpin for ItemStackUpdate
impl UnwindSafe for ItemStackUpdate
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