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