pub struct SpringJoint {
pub local_anchor_a: Vec2,
pub local_anchor_b: Vec2,
pub distance: f32,
pub frequency: f32,
pub damping: f32,
/* private fields */
}
Fields§
§local_anchor_a: Vec2
§local_anchor_b: Vec2
§distance: f32
§frequency: f32
§damping: f32
Implementations§
Source§impl SpringJoint
impl SpringJoint
Trait Implementations§
Source§impl Clone for SpringJoint
impl Clone for SpringJoint
Source§fn clone(&self) -> SpringJoint
fn clone(&self) -> SpringJoint
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 moreAuto Trait Implementations§
impl Freeze for SpringJoint
impl RefUnwindSafe for SpringJoint
impl Send for SpringJoint
impl Sync for SpringJoint
impl Unpin 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