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
Source§type Output = LocalPlayerAnimationsSpec
type Output = LocalPlayerAnimationsSpec
Output should be Self, except for wrapper types.
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 Serialize for LocalPlayerAnimationsSpec
impl Serialize for LocalPlayerAnimationsSpec
type Input = LocalPlayerAnimationsSpec
fn serialize<S: Serializer>(value: &Self::Input, ser: &mut S) -> SerializeResult
impl StructuralPartialEq for LocalPlayerAnimationsSpec
Auto Trait Implementations§
impl Freeze for LocalPlayerAnimationsSpec
impl RefUnwindSafe for LocalPlayerAnimationsSpec
impl Send for LocalPlayerAnimationsSpec
impl Sync for LocalPlayerAnimationsSpec
impl Unpin for LocalPlayerAnimationsSpec
impl UnwindSafe for LocalPlayerAnimationsSpec
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