Struct physx::geometry::PxBoxGeometry
source · [−]Fields
mType: i32
halfExtents: PxVec3
Trait Implementations
sourceimpl Class<PxBoxGeometry> for PxBoxGeometry
impl Class<PxBoxGeometry> for PxBoxGeometry
sourcefn 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. Read more
sourcefn 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. Read more
sourceimpl Class<PxGeometry> for PxBoxGeometry
impl Class<PxGeometry> for PxBoxGeometry
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 PxBoxGeometry
impl Clone for PxBoxGeometry
sourcefn clone(&self) -> PxBoxGeometry
fn clone(&self) -> PxBoxGeometry
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Copy for PxBoxGeometry
Auto Trait Implementations
impl RefUnwindSafe for PxBoxGeometry
impl Send for PxBoxGeometry
impl Sync for PxBoxGeometry
impl Unpin for PxBoxGeometry
impl UnwindSafe for PxBoxGeometry
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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