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