Struct physx::geometry::PxBoxGeometry
source · pub struct PxBoxGeometry {
pub structgen_pad0: [u8; 4],
pub mTypePadding: f32,
pub halfExtents: PxVec3,
}
Fields§
§structgen_pad0: [u8; 4]
§mTypePadding: f32
§halfExtents: PxVec3
Trait Implementations§
source§impl Class<PxBoxGeometry> for PxBoxGeometry
impl Class<PxBoxGeometry> for PxBoxGeometry
source§fn as_ptr(&self) -> *const PxBoxGeometry
fn as_ptr(&self) -> *const PxBoxGeometry
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 PxBoxGeometry
fn as_mut_ptr(&mut self) -> *mut PxBoxGeometry
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 PxBoxGeometry
impl Class<PxGeometry> for PxBoxGeometry
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 PxBoxGeometry
impl Clone for PxBoxGeometry
source§fn clone(&self) -> PxBoxGeometry
fn clone(&self) -> PxBoxGeometry
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