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>>
Available on crate feature extensions
only.
pub fn extensions(&self) -> Option<&Map<String, Value>>
extensions
only.Returns extension data unknown to this crate version.
sourcepub fn extension_value(&self, ext_name: &str) -> Option<&Value>
Available on crate feature extensions
only.
pub fn extension_value(&self, ext_name: &str) -> Option<&Value>
extensions
only.Queries extension data unknown to this crate version.
sourcepub fn name(&self) -> Option<&'a str>
Available on crate feature names
only.
pub fn name(&self) -> Option<&'a str>
names
only.Optional user-defined name for this object.
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> Freeze for Mesh<'a>
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