Struct minetest_protocol::wire::command::InventorySpec
source · pub struct InventorySpec {
pub inventory: Inventory,
}
Fields§
§inventory: Inventory
Trait Implementations§
source§impl Clone for InventorySpec
impl Clone for InventorySpec
source§fn clone(&self) -> InventorySpec
fn clone(&self) -> InventorySpec
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 InventorySpec
impl Debug for InventorySpec
source§impl Deserialize for InventorySpec
impl Deserialize for InventorySpec
fn deserialize(deser: &mut Deserializer<'_>) -> DeserializeResult<Self>
source§impl From<InventorySpec> for ToClientCommand
impl From<InventorySpec> for ToClientCommand
source§fn from(value: InventorySpec) -> Self
fn from(value: InventorySpec) -> Self
Converts to this type from the input type.
source§impl PartialEq<InventorySpec> for InventorySpec
impl PartialEq<InventorySpec> for InventorySpec
source§fn eq(&self, other: &InventorySpec) -> bool
fn eq(&self, other: &InventorySpec) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.