pub struct Part {
pub vertices: Vec<Vertex>,
pub indices: Vec<u16>,
pub material_index: u16,
pub submeshes: Vec<SubMesh>,
pub shapes: Vec<Shape>,
/* private fields */
}
Expand description
Corresponds to a “Mesh” in an LOD
Fields§
§vertices: Vec<Vertex>
§indices: Vec<u16>
§material_index: u16
§submeshes: Vec<SubMesh>
§shapes: Vec<Shape>
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Part
impl Send for Part
impl Sync for Part
impl Unpin for Part
impl UnwindSafe for Part
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