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