Struct minetest_protocol::wire::types::NodeMetadata
source · pub struct NodeMetadata {
pub stringvars: Array32<StringVar>,
pub inventory: Inventory,
}
Fields§
§stringvars: Array32<StringVar>
§inventory: Inventory
Trait Implementations§
source§impl Clone for NodeMetadata
impl Clone for NodeMetadata
source§fn clone(&self) -> NodeMetadata
fn clone(&self) -> NodeMetadata
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 NodeMetadata
impl Debug for NodeMetadata
source§impl Deserialize for NodeMetadata
impl Deserialize for NodeMetadata
fn deserialize(deser: &mut Deserializer<'_>) -> DeserializeResult<Self>
source§impl PartialEq<NodeMetadata> for NodeMetadata
impl PartialEq<NodeMetadata> for NodeMetadata
source§fn eq(&self, other: &NodeMetadata) -> bool
fn eq(&self, other: &NodeMetadata) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.