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