pub struct b2JointDef { /* private fields */ }Expand description
Joint definitions are used to construct joints.
Implementations§
Trait Implementations§
Source§impl AsRef<b2JointDef> for b2DistanceJointDef
impl AsRef<b2JointDef> for b2DistanceJointDef
Source§fn as_ref(self: &b2DistanceJointDef) -> &b2JointDef
fn as_ref(self: &b2DistanceJointDef) -> &b2JointDef
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<b2JointDef> for b2FrictionJointDef
impl AsRef<b2JointDef> for b2FrictionJointDef
Source§fn as_ref(self: &b2FrictionJointDef) -> &b2JointDef
fn as_ref(self: &b2FrictionJointDef) -> &b2JointDef
Converts this type into a shared reference of the (usually inferred) input type.
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 AsRef<b2JointDef> for b2MotorJointDef
impl AsRef<b2JointDef> for b2MotorJointDef
Source§fn as_ref(self: &b2MotorJointDef) -> &b2JointDef
fn as_ref(self: &b2MotorJointDef) -> &b2JointDef
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<b2JointDef> for b2PrismaticJointDef
impl AsRef<b2JointDef> for b2PrismaticJointDef
Source§fn as_ref(self: &b2PrismaticJointDef) -> &b2JointDef
fn as_ref(self: &b2PrismaticJointDef) -> &b2JointDef
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<b2JointDef> for b2PulleyJointDef
impl AsRef<b2JointDef> for b2PulleyJointDef
Source§fn as_ref(self: &b2PulleyJointDef) -> &b2JointDef
fn as_ref(self: &b2PulleyJointDef) -> &b2JointDef
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<b2JointDef> for b2RevoluteJointDef
impl AsRef<b2JointDef> for b2RevoluteJointDef
Source§fn as_ref(self: &b2RevoluteJointDef) -> &b2JointDef
fn as_ref(self: &b2RevoluteJointDef) -> &b2JointDef
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<b2JointDef> for b2WeldJointDef
impl AsRef<b2JointDef> for b2WeldJointDef
Source§fn as_ref(self: &b2WeldJointDef) -> &b2JointDef
fn as_ref(self: &b2WeldJointDef) -> &b2JointDef
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<b2JointDef> for b2WheelJointDef
impl AsRef<b2JointDef> for b2WheelJointDef
Source§fn as_ref(self: &b2WheelJointDef) -> &b2JointDef
fn as_ref(self: &b2WheelJointDef) -> &b2JointDef
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl CopyNew for b2JointDef
impl CopyNew for b2JointDef
Source§unsafe fn copy_new(other: &b2JointDef, this: Pin<&mut MaybeUninit<b2JointDef>>)
unsafe fn copy_new(other: &b2JointDef, this: Pin<&mut MaybeUninit<b2JointDef>>)
Synthesized copy constructor.
Source§impl Drop for b2JointDef
impl Drop for b2JointDef
Source§fn drop(self: &mut b2JointDef)
fn drop(self: &mut b2JointDef)
Synthesized destructor.
Source§impl ExternType for b2JointDef
impl ExternType for b2JointDef
Source§impl MakeCppStorage for b2JointDef
impl MakeCppStorage for b2JointDef
Source§unsafe fn allocate_uninitialized_cpp_storage() -> *mut b2JointDef
unsafe fn allocate_uninitialized_cpp_storage() -> *mut b2JointDef
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 b2JointDef)
unsafe fn free_uninitialized_cpp_storage(arg0: *mut b2JointDef)
Frees a C++ allocation which has not yet
had a constructor called. Read more
Source§impl MoveNew for b2JointDef
impl MoveNew for b2JointDef
Source§unsafe fn move_new(
other: Pin<MoveRef<'_, b2JointDef>>,
this: Pin<&mut MaybeUninit<b2JointDef>>,
)
unsafe fn move_new( other: Pin<MoveRef<'_, b2JointDef>>, this: Pin<&mut MaybeUninit<b2JointDef>>, )
Synthesized move constructor.
impl UniquePtrTarget for b2JointDef
impl VectorElement for b2JointDef
impl WeakPtrTarget for b2JointDef
Auto Trait Implementations§
impl Freeze for b2JointDef
impl RefUnwindSafe for b2JointDef
impl !Send for b2JointDef
impl !Sync for b2JointDef
impl !Unpin for b2JointDef
impl UnwindSafe for b2JointDef
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