Struct physx::geometry::PxCapsuleGeometry
source · pub struct PxCapsuleGeometry {
pub structgen_pad0: [u8; 4],
pub mTypePadding: f32,
pub radius: f32,
pub halfHeight: f32,
}
Fields§
§structgen_pad0: [u8; 4]
§mTypePadding: f32
§radius: f32
§halfHeight: f32
Trait Implementations§
source§impl Class<PxCapsuleGeometry> for PxCapsuleGeometry
impl Class<PxCapsuleGeometry> for PxCapsuleGeometry
source§fn 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.
source§fn 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.
source§impl Class<PxGeometry> for PxCapsuleGeometry
impl Class<PxGeometry> for PxCapsuleGeometry
source§fn 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.
source§fn 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.
source§impl Clone for PxCapsuleGeometry
impl Clone for PxCapsuleGeometry
source§fn clone(&self) -> PxCapsuleGeometry
fn clone(&self) -> PxCapsuleGeometry
Returns a copy 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 more