Struct rend3_gltf::MeshPrimitive
source · [−]Expand description
A single sub-mesh of a gltf.
Fields
handle: MeshHandle
material: Option<usize>
Index into the material vector given by load_materials_and_textures
or LoadedGltfScene::materials
.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for MeshPrimitive
impl Send for MeshPrimitive
impl Sync for MeshPrimitive
impl Unpin for MeshPrimitive
impl UnwindSafe for MeshPrimitive
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more