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 duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const 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
Source§type Output = HudaddSpec
type Output = HudaddSpec
Output should be Self, except for wrapper types.
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 for HudaddSpec
impl PartialEq for HudaddSpec
Source§impl Serialize for HudaddSpec
impl Serialize for HudaddSpec
type Input = HudaddSpec
fn serialize<S: Serializer>(value: &Self::Input, ser: &mut S) -> SerializeResult
impl StructuralPartialEq for HudaddSpec
Auto Trait Implementations§
impl Freeze for HudaddSpec
impl RefUnwindSafe for HudaddSpec
impl Send for HudaddSpec
impl Sync for HudaddSpec
impl Unpin for HudaddSpec
impl UnwindSafe for HudaddSpec
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more