pub struct Spring2D {
pub x: SpringDamper,
pub y: SpringDamper,
}Expand description
A 2-D spring (two independent SpringDampers sharing the same parameters).
Fields§
§x: SpringDamper§y: SpringDamperImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Spring2D
impl RefUnwindSafe for Spring2D
impl Send for Spring2D
impl Sync for Spring2D
impl Unpin for Spring2D
impl UnsafeUnpin for Spring2D
impl UnwindSafe for Spring2D
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