Struct minetest_protocol::wire::types::AOCUpdatePosition
source · pub struct AOCUpdatePosition {
pub position: v3f,
pub velocity: v3f,
pub acceleration: v3f,
pub rotation: v3f,
pub do_interpolate: bool,
pub is_end_position: bool,
pub update_interval: f32,
}
Fields§
§position: v3f
§velocity: v3f
§acceleration: v3f
§rotation: v3f
§do_interpolate: bool
§is_end_position: bool
§update_interval: f32
Trait Implementations§
source§impl Clone for AOCUpdatePosition
impl Clone for AOCUpdatePosition
source§fn clone(&self) -> AOCUpdatePosition
fn clone(&self) -> AOCUpdatePosition
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 AOCUpdatePosition
impl Debug for AOCUpdatePosition
source§impl Deserialize for AOCUpdatePosition
impl Deserialize for AOCUpdatePosition
fn deserialize(deser: &mut Deserializer<'_>) -> DeserializeResult<Self>
source§impl PartialEq<AOCUpdatePosition> for AOCUpdatePosition
impl PartialEq<AOCUpdatePosition> for AOCUpdatePosition
source§fn eq(&self, other: &AOCUpdatePosition) -> bool
fn eq(&self, other: &AOCUpdatePosition) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.