Enum minetest_protocol::wire::types::InventoryLocation
source · pub enum InventoryLocation {
Undefined,
CurrentPlayer,
Player {
name: String,
},
NodeMeta {
pos: v3s16,
},
Detached {
name: String,
},
}
Variants§
Trait Implementations§
source§impl Clone for InventoryLocation
impl Clone for InventoryLocation
source§fn clone(&self) -> InventoryLocation
fn clone(&self) -> InventoryLocation
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 InventoryLocation
impl Debug for InventoryLocation
source§impl Deserialize for InventoryLocation
impl Deserialize for InventoryLocation
fn deserialize(deser: &mut Deserializer<'_>) -> DeserializeResult<Self>
source§impl PartialEq<InventoryLocation> for InventoryLocation
impl PartialEq<InventoryLocation> for InventoryLocation
source§fn eq(&self, other: &InventoryLocation) -> bool
fn eq(&self, other: &InventoryLocation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.