pub struct b2GearJointDef { /* private fields */ }Expand description
Gear joint definition. This definition requires two existing revolute or prismatic joints (any combination will work). @warning bodyB on the input joints must both be dynamic
Implementations§
Trait Implementations§
Source§impl AsRef<b2JointDef> for b2GearJointDef
impl AsRef<b2JointDef> for b2GearJointDef
Source§fn as_ref(self: &b2GearJointDef) -> &b2JointDef
fn as_ref(self: &b2GearJointDef) -> &b2JointDef
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl CopyNew for b2GearJointDef
impl CopyNew for b2GearJointDef
Source§unsafe fn copy_new(
other: &b2GearJointDef,
this: Pin<&mut MaybeUninit<b2GearJointDef>>,
)
unsafe fn copy_new( other: &b2GearJointDef, this: Pin<&mut MaybeUninit<b2GearJointDef>>, )
Synthesized copy constructor.
Source§impl Drop for b2GearJointDef
impl Drop for b2GearJointDef
Source§fn drop(self: &mut b2GearJointDef)
fn drop(self: &mut b2GearJointDef)
Synthesized destructor.
Source§impl ExternType for b2GearJointDef
impl ExternType for b2GearJointDef
Source§impl MakeCppStorage for b2GearJointDef
impl MakeCppStorage for b2GearJointDef
Source§unsafe fn allocate_uninitialized_cpp_storage() -> *mut b2GearJointDef
unsafe fn allocate_uninitialized_cpp_storage() -> *mut b2GearJointDef
Allocates heap space for this type in C++ and return a pointer
to that space, but do not initialize that space (i.e. do not
yet call a constructor). Read more
Source§unsafe fn free_uninitialized_cpp_storage(arg0: *mut b2GearJointDef)
unsafe fn free_uninitialized_cpp_storage(arg0: *mut b2GearJointDef)
Frees a C++ allocation which has not yet
had a constructor called. Read more
Source§impl MoveNew for b2GearJointDef
impl MoveNew for b2GearJointDef
Source§unsafe fn move_new(
other: Pin<MoveRef<'_, b2GearJointDef>>,
this: Pin<&mut MaybeUninit<b2GearJointDef>>,
)
unsafe fn move_new( other: Pin<MoveRef<'_, b2GearJointDef>>, this: Pin<&mut MaybeUninit<b2GearJointDef>>, )
Synthesized move constructor.
impl UniquePtrTarget for b2GearJointDef
impl VectorElement for b2GearJointDef
impl WeakPtrTarget for b2GearJointDef
Auto Trait Implementations§
impl !Send for b2GearJointDef
impl !Sync for b2GearJointDef
impl !Unpin for b2GearJointDef
impl Freeze for b2GearJointDef
impl RefUnwindSafe for b2GearJointDef
impl UnsafeUnpin for b2GearJointDef
impl UnwindSafe for b2GearJointDef
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