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 duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const 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
Source§type Output = PointAttractor
type Output = PointAttractor
Output should be Self, except for wrapper types.
fn deserialize(deser: &mut Deserializer<'_>) -> DeserializeResult<Self>
Source§impl PartialEq for PointAttractor
impl PartialEq for PointAttractor
Source§impl Serialize for PointAttractor
impl Serialize for PointAttractor
type Input = PointAttractor
fn serialize<S: Serializer>(value: &Self::Input, ser: &mut S) -> SerializeResult
impl StructuralPartialEq for PointAttractor
Auto Trait Implementations§
impl Freeze for PointAttractor
impl RefUnwindSafe for PointAttractor
impl Send for PointAttractor
impl Sync for PointAttractor
impl Unpin for PointAttractor
impl UnwindSafe for PointAttractor
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more