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