Struct gltf::Mesh [−][src]
pub struct Mesh<'a> { /* fields omitted */ }
Expand description
A set of primitives to be rendered.
Implementations
impl<'a> Mesh<'a>
[src]
impl<'a> Mesh<'a>
[src]pub fn name(&self) -> Option<&'a str>
[src]
This is supported on crate feature names
only.
pub fn name(&self) -> Option<&'a str>
[src]This is supported on crate feature
names
only.Optional user-defined name for this object.
pub fn primitives(&self) -> Primitives<'a>ⓘNotable traits for Primitives<'a>
impl<'a> Iterator for Primitives<'a> type Item = Primitive<'a>;
[src]
pub fn primitives(&self) -> Primitives<'a>ⓘNotable traits for Primitives<'a>
impl<'a> Iterator for Primitives<'a> type Item = Primitive<'a>;
[src]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
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more