Struct physx::geometry::PxSphereGeometry
source · [−]Fields
mType: i32
radius: f32
Trait Implementations
sourceimpl Class<PxGeometry> for PxSphereGeometry
impl Class<PxGeometry> for PxSphereGeometry
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 Class<PxSphereGeometry> for PxSphereGeometry
impl Class<PxSphereGeometry> for PxSphereGeometry
sourcefn 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. Read more
sourcefn 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. Read more
sourceimpl Clone for PxSphereGeometry
impl Clone for PxSphereGeometry
sourcefn clone(&self) -> PxSphereGeometry
fn clone(&self) -> PxSphereGeometry
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 PxSphereGeometry
Auto Trait Implementations
impl RefUnwindSafe for PxSphereGeometry
impl Send for PxSphereGeometry
impl Sync for PxSphereGeometry
impl Unpin for PxSphereGeometry
impl UnwindSafe for PxSphereGeometry
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