pub struct SubMesh {
pub material_index: usize,
pub index_offset: u32,
pub index_count: u32,
}Expand description
A sub-mesh references a material index
Fields§
§material_index: usize§index_offset: u32§index_count: u32Trait Implementations§
Auto Trait Implementations§
impl Freeze for SubMesh
impl RefUnwindSafe for SubMesh
impl Send for SubMesh
impl Sync for SubMesh
impl Unpin for SubMesh
impl UnsafeUnpin for SubMesh
impl UnwindSafe for SubMesh
Blanket Implementations§
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