pub struct DtMeshTile(/* private fields */);Implementations§
Source§impl DtMeshTile
impl DtMeshTile
pub fn as_ptr(&self) -> *const CxxDtMeshTile
pub fn as_mut_ptr(&mut self) -> *mut CxxDtMeshTile
pub fn header(&self) -> Option<&DtMeshHeader>
pub fn header_mut(&mut self) -> Option<&mut DtMeshHeader>
pub fn polys(&self) -> &[DtPoly]
pub fn polys_mut(&mut self) -> &mut [DtPoly]
pub fn verts(&self) -> &[[f32; 3]]
pub fn verts_mut(&mut self) -> &mut [[f32; 3]]
pub fn links(&self) -> &[DtLink]
pub fn links_mut(&mut self) -> &mut [DtLink]
pub fn detail_meshes(&self) -> &[DtPolyDetail]
pub fn detail_meshes_mut(&mut self) -> &mut [DtPolyDetail]
pub fn detail_verts(&self) -> &[[f32; 3]]
pub fn detail_verts_mut(&mut self) -> &mut [[f32; 3]]
pub fn detail_tris(&self) -> &[[u8; 4]]
pub fn detail_tris_mut(&mut self) -> &mut [[u8; 4]]
pub fn bv_tree(&self) -> &[DtBVNode]
pub fn bv_tree_mut(&mut self) -> &mut [DtBVNode]
pub fn off_mesh_cons(&self) -> &[DtOffMeshConnection]
pub fn off_mesh_cons_mut(&mut self) -> &mut [DtOffMeshConnection]
pub fn data(&self) -> &[u8] ⓘ
pub fn data_mut(&mut self) -> &mut [u8] ⓘ
pub fn data_size(&self) -> usize
pub fn next(&self) -> Option<&DtMeshTile>
pub fn next_mut(&mut self) -> Option<&mut DtMeshTile>
Trait Implementations§
Source§impl Debug for DtMeshTile
impl Debug for DtMeshTile
Source§impl Deref for DtMeshTile
impl Deref for DtMeshTile
Auto Trait Implementations§
impl Freeze for DtMeshTile
impl RefUnwindSafe for DtMeshTile
impl !Send for DtMeshTile
impl !Sync for DtMeshTile
impl Unpin for DtMeshTile
impl UnwindSafe for DtMeshTile
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