pub struct Mesh<'a> { /* private fields */ }
Expand description
A set of primitives to be rendered.
Implementations§
source§impl<'a> Mesh<'a>
impl<'a> Mesh<'a>
sourcepub fn extensions(&self) -> Option<&Map<String, Value>>
pub fn extensions(&self) -> Option<&Map<String, Value>>
Returns extension data unknown to this crate version.
sourcepub fn extension_value(&self, ext_name: &str) -> Option<&Value>
pub fn extension_value(&self, ext_name: &str) -> Option<&Value>
Queries extension data unknown to this crate version.
sourcepub fn primitives(&self) -> Primitives<'a> ⓘ
pub fn primitives(&self) -> Primitives<'a> ⓘ
Defines the geometry to be renderered with a material.
Trait Implementations§
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Mesh<'a>
impl<'a> Send for Mesh<'a>
impl<'a> Sync for Mesh<'a>
impl<'a> Unpin for Mesh<'a>
impl<'a> UnwindSafe for Mesh<'a>
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