Struct physx::geometry::PxCapsuleGeometry
source · [−]Fields
mType: i32
radius: f32
halfHeight: f32
Trait Implementations
sourceimpl Class<PxCapsuleGeometry> for PxCapsuleGeometry
impl Class<PxCapsuleGeometry> for PxCapsuleGeometry
sourcefn as_ptr(&self) -> *const PxCapsuleGeometry
fn as_ptr(&self) -> *const PxCapsuleGeometry
Returns a raw const pointer to the wrapped type.
Retrieving a raw pointer is safe. However, pretty much any use of a raw pointer is unsafe.
In particular: this pointer should not be used to construct a second owning wrapper around the pointer. Read more
sourcefn as_mut_ptr(&mut self) -> *mut PxCapsuleGeometry
fn as_mut_ptr(&mut self) -> *mut PxCapsuleGeometry
Returns a raw mut pointer to the wrapped type.
Retrieving a raw pointer is safe. However, pretty much any use of a raw pointer is unsafe.
In particular: this pointer should not be used to construct a second owning wrapper around the pointer. Read more
sourceimpl Class<PxGeometry> for PxCapsuleGeometry
impl Class<PxGeometry> for PxCapsuleGeometry
sourcefn as_ptr(&self) -> *const PxGeometry
fn as_ptr(&self) -> *const PxGeometry
Returns a raw const pointer to the wrapped type.
Retrieving a raw pointer is safe. However, pretty much any use of a raw pointer is unsafe.
In particular: this pointer should not be used to construct a second owning wrapper around the pointer. Read more
sourcefn as_mut_ptr(&mut self) -> *mut PxGeometry
fn as_mut_ptr(&mut self) -> *mut PxGeometry
Returns a raw mut pointer to the wrapped type.
Retrieving a raw pointer is safe. However, pretty much any use of a raw pointer is unsafe.
In particular: this pointer should not be used to construct a second owning wrapper around the pointer. Read more
sourceimpl Clone for PxCapsuleGeometry
impl Clone for PxCapsuleGeometry
sourcefn clone(&self) -> PxCapsuleGeometry
fn clone(&self) -> PxCapsuleGeometry
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for PxCapsuleGeometry
Auto Trait Implementations
impl RefUnwindSafe for PxCapsuleGeometry
impl Send for PxCapsuleGeometry
impl Sync for PxCapsuleGeometry
impl Unpin for PxCapsuleGeometry
impl UnwindSafe for PxCapsuleGeometry
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more