Struct minetest_protocol::wire::types::AOCSetSprite
source · pub struct AOCSetSprite {
pub base_pos: v2s16,
pub anum_num_frames: u16,
pub anim_frame_length: f32,
pub select_horiz_by_yawpitch: bool,
}
Fields§
§base_pos: v2s16
§anum_num_frames: u16
§anim_frame_length: f32
§select_horiz_by_yawpitch: bool
Trait Implementations§
source§impl Clone for AOCSetSprite
impl Clone for AOCSetSprite
source§fn clone(&self) -> AOCSetSprite
fn clone(&self) -> AOCSetSprite
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 AOCSetSprite
impl Debug for AOCSetSprite
source§impl Deserialize for AOCSetSprite
impl Deserialize for AOCSetSprite
fn deserialize(deser: &mut Deserializer<'_>) -> DeserializeResult<Self>
source§impl PartialEq<AOCSetSprite> for AOCSetSprite
impl PartialEq<AOCSetSprite> for AOCSetSprite
source§fn eq(&self, other: &AOCSetSprite) -> bool
fn eq(&self, other: &AOCSetSprite) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.