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