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