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