Struct mash::load::wavefront::Object[][src]

pub struct Object<'a> { /* fields omitted */ }

A named object in a Wavefront file.

Implementations

impl<'a> Object<'a>[src]

pub fn name(&self) -> &str[src]

Gets the name of the object.

pub fn material(&self) -> Option<Material<'_>>[src]

Gets the material associated with the object.

Trait Implementations

impl<'a> BuildModel for Object<'a>[src]

type Vertex = Vertex

The vertex type that we need to convert from.

Auto Trait Implementations

impl<'a> RefUnwindSafe for Object<'a>[src]

impl<'a> Send for Object<'a>[src]

impl<'a> Sync for Object<'a>[src]

impl<'a> Unpin for Object<'a>[src]

impl<'a> UnwindSafe for Object<'a>[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.