pub enum JointType {
Distance,
Filter,
Motor,
Prismatic,
Revolute,
Weld,
Wheel,
}Expand description
Joint kinds reported by Box2D.
Variants§
Implementations§
Source§impl JointType
impl JointType
pub const fn from_raw(raw: b2JointType) -> Option<Self>
pub const fn into_raw(self) -> b2JointType
Trait Implementations§
impl Copy for JointType
impl Eq for JointType
impl StructuralPartialEq for JointType
Auto Trait Implementations§
impl Freeze for JointType
impl RefUnwindSafe for JointType
impl Send for JointType
impl Sync for JointType
impl Unpin for JointType
impl UnsafeUnpin for JointType
impl UnwindSafe for JointType
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