pub struct RcHeightfield(/* private fields */);Implementations§
Source§impl RcHeightfield
impl RcHeightfield
pub fn new() -> RcHeightfield
pub fn as_ptr(&self) -> *const CxxRcHeightfield
pub fn as_mut_ptr(&mut self) -> *mut CxxRcHeightfield
pub fn width(&self) -> i32
pub fn height(&self) -> i32
pub fn get_span(&self, idx: usize) -> Option<&RcSpan>
pub fn get_span_mut(&mut self, idx: usize) -> Option<&mut RcSpan>
Trait Implementations§
Source§impl Debug for RcHeightfield
impl Debug for RcHeightfield
Source§impl Deref for RcHeightfield
impl Deref for RcHeightfield
Source§impl DerefMut for RcHeightfield
impl DerefMut for RcHeightfield
Auto Trait Implementations§
impl Freeze for RcHeightfield
impl RefUnwindSafe for RcHeightfield
impl !Send for RcHeightfield
impl !Sync for RcHeightfield
impl Unpin for RcHeightfield
impl UnwindSafe for RcHeightfield
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