pub struct Generic6DOFConstraint {Show 14 fields
pub body_a: u64,
pub body_b: u64,
pub frame_a: Mat4,
pub frame_b: Mat4,
pub linear_lower: Vec3,
pub linear_upper: Vec3,
pub angular_lower: Vec3,
pub angular_upper: Vec3,
pub linear_enabled: [bool; 3],
pub angular_enabled: [bool; 3],
pub spring_stiffness: [f32; 6],
pub spring_damping: [f32; 6],
pub spring_enabled: [bool; 6],
pub rows: Vec<JacobianRow>,
}Fields§
§body_a: u64§body_b: u64§frame_a: Mat4§frame_b: Mat4§linear_lower: Vec3§linear_upper: Vec3§angular_lower: Vec3§angular_upper: Vec3§linear_enabled: [bool; 3]§angular_enabled: [bool; 3]§spring_stiffness: [f32; 6]§spring_damping: [f32; 6]§spring_enabled: [bool; 6]§rows: Vec<JacobianRow>Implementations§
Trait Implementations§
Source§impl Clone for Generic6DOFConstraint
impl Clone for Generic6DOFConstraint
Auto Trait Implementations§
impl Freeze for Generic6DOFConstraint
impl RefUnwindSafe for Generic6DOFConstraint
impl Send for Generic6DOFConstraint
impl Sync for Generic6DOFConstraint
impl Unpin for Generic6DOFConstraint
impl UnsafeUnpin for Generic6DOFConstraint
impl UnwindSafe for Generic6DOFConstraint
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.