pub struct SpringJoint {
pub name: String,
pub position: [f32; 3],
pub velocity: [f32; 3],
pub rest_position: [f32; 3],
pub stiffness: f32,
pub damping: f32,
pub mass: f32,
}Fields§
§name: String§position: [f32; 3]§velocity: [f32; 3]§rest_position: [f32; 3]§stiffness: f32§damping: f32§mass: f32Auto Trait Implementations§
impl Freeze for SpringJoint
impl RefUnwindSafe for SpringJoint
impl Send for SpringJoint
impl Sync for SpringJoint
impl Unpin for SpringJoint
impl UnsafeUnpin for SpringJoint
impl UnwindSafe for SpringJoint
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more