pub struct RcMeshLoaderObj(/* private fields */);Implementations§
Source§impl RcMeshLoaderObj
impl RcMeshLoaderObj
pub fn new() -> RcMeshLoaderObj
pub fn load(&mut self, file_name: &str) -> bool
pub fn get_verts(&self) -> &[[f32; 3]]
pub fn get_normals(&self) -> &[[f32; 3]]
pub fn get_tris(&self) -> &[[i32; 3]]
pub fn get_vert_count(&self) -> i32
pub fn get_tri_count(&self) -> i32
pub fn get_file_name(&self) -> &str
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RcMeshLoaderObj
impl RefUnwindSafe for RcMeshLoaderObj
impl !Send for RcMeshLoaderObj
impl !Sync for RcMeshLoaderObj
impl Unpin for RcMeshLoaderObj
impl UnwindSafe for RcMeshLoaderObj
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