Struct physx::geometry::PxConvexMeshGeometry
source · [−]#[repr(C)]pub struct PxConvexMeshGeometry {
pub mType: i32,
pub scale: PxMeshScale,
pub convexMesh: *mut PxConvexMesh,
pub meshFlags: PxConvexMeshGeometryFlags,
pub paddingFromFlags: PxPadding_3_,
pub structgen_pad0: [u8; 4],
}
Fields
mType: i32
scale: PxMeshScale
convexMesh: *mut PxConvexMesh
meshFlags: PxConvexMeshGeometryFlags
paddingFromFlags: PxPadding_3_
structgen_pad0: [u8; 4]
Trait Implementations
sourceimpl Class<PxConvexMeshGeometry> for PxConvexMeshGeometry
impl Class<PxConvexMeshGeometry> for PxConvexMeshGeometry
sourcefn as_ptr(&self) -> *const PxConvexMeshGeometry
fn as_ptr(&self) -> *const PxConvexMeshGeometry
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 PxConvexMeshGeometry
fn as_mut_ptr(&mut self) -> *mut PxConvexMeshGeometry
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 PxConvexMeshGeometry
impl Class<PxGeometry> for PxConvexMeshGeometry
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 PxConvexMeshGeometry
impl Clone for PxConvexMeshGeometry
sourcefn clone(&self) -> PxConvexMeshGeometry
fn clone(&self) -> PxConvexMeshGeometry
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 PxConvexMeshGeometry
Auto Trait Implementations
impl RefUnwindSafe for PxConvexMeshGeometry
impl !Send for PxConvexMeshGeometry
impl !Sync for PxConvexMeshGeometry
impl Unpin for PxConvexMeshGeometry
impl UnwindSafe for PxConvexMeshGeometry
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