Enum minetest_protocol::wire::types::ItemStackUpdate
source · 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 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 Debug for ItemStackUpdate
impl Debug for ItemStackUpdate
source§impl PartialEq<ItemStackUpdate> for ItemStackUpdate
impl PartialEq<ItemStackUpdate> for ItemStackUpdate
source§fn eq(&self, other: &ItemStackUpdate) -> bool
fn eq(&self, other: &ItemStackUpdate) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.