Struct minetest_protocol::wire::types::PlaneAttractor
source · pub struct PlaneAttractor {
pub attract: TweenedParameter<RangedParameter<f32>>,
pub origin: TweenedParameter<v3f>,
pub attachment: u16,
pub kill: u8,
pub direction: TweenedParameter<v3f>,
pub direction_attachment: u16,
}
Fields§
§attract: TweenedParameter<RangedParameter<f32>>
§origin: TweenedParameter<v3f>
§attachment: u16
§kill: u8
§direction: TweenedParameter<v3f>
§direction_attachment: u16
Trait Implementations§
source§impl Clone for PlaneAttractor
impl Clone for PlaneAttractor
source§fn clone(&self) -> PlaneAttractor
fn clone(&self) -> PlaneAttractor
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 PlaneAttractor
impl Debug for PlaneAttractor
source§impl Deserialize for PlaneAttractor
impl Deserialize for PlaneAttractor
fn deserialize(deser: &mut Deserializer<'_>) -> DeserializeResult<Self>
source§impl PartialEq<PlaneAttractor> for PlaneAttractor
impl PartialEq<PlaneAttractor> for PlaneAttractor
source§fn eq(&self, other: &PlaneAttractor) -> bool
fn eq(&self, other: &PlaneAttractor) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.