pub struct RcHeightfieldLayer {
pub bmin: [f32; 3],
pub bmax: [f32; 3],
pub cs: f32,
pub ch: f32,
pub minx: i32,
pub maxx: i32,
pub miny: i32,
pub maxy: i32,
pub hmin: i32,
pub hmax: i32,
/* private fields */
}Fields§
§bmin: [f32; 3]§bmax: [f32; 3]§cs: f32§ch: f32§minx: i32§maxx: i32§miny: i32§maxy: i32§hmin: i32§hmax: i32Implementations§
Source§impl RcHeightfieldLayer
impl RcHeightfieldLayer
pub fn width(&self) -> i32
pub fn height(&self) -> i32
pub fn heights(&self) -> &[u8] ⓘ
pub fn heights_mut(&mut self) -> &mut [u8] ⓘ
pub fn areas(&self) -> &[u8] ⓘ
pub fn areas_mut(&mut self) -> &mut [u8] ⓘ
pub fn cons(&self) -> &[u8] ⓘ
pub fn cons_mut(&mut self) -> &mut [u8] ⓘ
Trait Implementations§
Source§impl Debug for RcHeightfieldLayer
impl Debug for RcHeightfieldLayer
Source§impl ExternType for RcHeightfieldLayer
impl ExternType for RcHeightfieldLayer
Auto Trait Implementations§
impl Freeze for RcHeightfieldLayer
impl RefUnwindSafe for RcHeightfieldLayer
impl !Send for RcHeightfieldLayer
impl !Sync for RcHeightfieldLayer
impl Unpin for RcHeightfieldLayer
impl UnwindSafe for RcHeightfieldLayer
Blanket Implementations§
Source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
Source§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
Source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more