#[repr(u32)]pub enum _mjtConstraint {
EQUALITY = 0,
FRICTION_DOF = 1,
FRICTION_TENDON = 2,
LIMIT_JOINT = 3,
LIMIT_TENDON = 4,
CONTACT_FRICTIONLESS = 5,
CONTACT_PYRAMIDAL = 6,
CONTACT_ELLIPTIC = 7,
}Variants§
EQUALITY = 0
FRICTION_DOF = 1
FRICTION_TENDON = 2
LIMIT_JOINT = 3
LIMIT_TENDON = 4
CONTACT_FRICTIONLESS = 5
CONTACT_PYRAMIDAL = 6
CONTACT_ELLIPTIC = 7
Trait Implementations§
Source§impl Clone for _mjtConstraint
impl Clone for _mjtConstraint
Source§fn clone(&self) -> _mjtConstraint
fn clone(&self) -> _mjtConstraint
Returns a duplicate 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 moreSource§impl Debug for _mjtConstraint
impl Debug for _mjtConstraint
Source§impl Hash for _mjtConstraint
impl Hash for _mjtConstraint
Source§impl PartialEq for _mjtConstraint
impl PartialEq for _mjtConstraint
impl Copy for _mjtConstraint
impl Eq for _mjtConstraint
impl StructuralPartialEq for _mjtConstraint
Auto Trait Implementations§
impl Freeze for _mjtConstraint
impl RefUnwindSafe for _mjtConstraint
impl Send for _mjtConstraint
impl Sync for _mjtConstraint
impl Unpin for _mjtConstraint
impl UnwindSafe for _mjtConstraint
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