pub struct SpringFrame {
pub time: f32,
pub position: f32,
pub velocity: f32,
}Expand description
One sampled spring frame.
Fields§
§time: f32Time in seconds.
position: f32Spring position.
velocity: f32Spring velocity.
Trait Implementations§
Source§impl Clone for SpringFrame
impl Clone for SpringFrame
Source§fn clone(&self) -> SpringFrame
fn clone(&self) -> SpringFrame
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SpringFrame
Source§impl Debug for SpringFrame
impl Debug for SpringFrame
Source§impl PartialEq for SpringFrame
impl PartialEq for SpringFrame
impl StructuralPartialEq for SpringFrame
Auto Trait Implementations§
impl Freeze for SpringFrame
impl RefUnwindSafe for SpringFrame
impl Send for SpringFrame
impl Sync for SpringFrame
impl Unpin for SpringFrame
impl UnsafeUnpin for SpringFrame
impl UnwindSafe for SpringFrame
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