Enum minetest_protocol::wire::types::InventoryEntry
source · pub enum InventoryEntry {
KeepList(String),
Update(InventoryList),
}
Variants§
KeepList(String)
Update(InventoryList)
Trait Implementations§
source§impl Clone for InventoryEntry
impl Clone for InventoryEntry
source§fn clone(&self) -> InventoryEntry
fn clone(&self) -> InventoryEntry
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 InventoryEntry
impl Debug for InventoryEntry
source§impl PartialEq<InventoryEntry> for InventoryEntry
impl PartialEq<InventoryEntry> for InventoryEntry
source§fn eq(&self, other: &InventoryEntry) -> bool
fn eq(&self, other: &InventoryEntry) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.