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