Struct minetest_protocol::wire::command::HudaddSpec
source · pub struct HudaddSpec {Show 16 fields
pub server_id: u32,
pub typ: u8,
pub pos: v2f,
pub name: String,
pub scale: v2f,
pub text: String,
pub number: u32,
pub item: u32,
pub dir: u32,
pub align: v2f,
pub offset: v2f,
pub world_pos: Option<v3f>,
pub size: Option<v2s32>,
pub z_index: Option<s16>,
pub text2: Option<String>,
pub style: Option<u32>,
}
Fields§
§server_id: u32
§typ: u8
§pos: v2f
§name: String
§scale: v2f
§text: String
§number: u32
§item: u32
§dir: u32
§align: v2f
§offset: v2f
§world_pos: Option<v3f>
§size: Option<v2s32>
§z_index: Option<s16>
§text2: Option<String>
§style: Option<u32>
Trait Implementations§
source§impl Clone for HudaddSpec
impl Clone for HudaddSpec
source§fn clone(&self) -> HudaddSpec
fn clone(&self) -> HudaddSpec
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 HudaddSpec
impl Debug for HudaddSpec
source§impl Deserialize for HudaddSpec
impl Deserialize for HudaddSpec
fn deserialize(deser: &mut Deserializer<'_>) -> DeserializeResult<Self>
source§impl From<HudaddSpec> for ToClientCommand
impl From<HudaddSpec> for ToClientCommand
source§fn from(value: HudaddSpec) -> Self
fn from(value: HudaddSpec) -> Self
Converts to this type from the input type.
source§impl PartialEq<HudaddSpec> for HudaddSpec
impl PartialEq<HudaddSpec> for HudaddSpec
source§fn eq(&self, other: &HudaddSpec) -> bool
fn eq(&self, other: &HudaddSpec) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.