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