[][src]Struct nom_obj::model::ObjObject

pub struct ObjObject {
    pub name: Option<String>,
    pub material: Option<ObjMaterial>,
    pub vertices: Vec<ObjLine>,
    pub normals: Vec<ObjLine>,
    pub texture_coords: Vec<ObjLine>,
    pub vertex_params: Vec<ObjLine>,
    pub faces: Vec<ObjLine>,
}

Fields

name: Option<String>material: Option<ObjMaterial>vertices: Vec<ObjLine>normals: Vec<ObjLine>texture_coords: Vec<ObjLine>vertex_params: Vec<ObjLine>faces: Vec<ObjLine>

Methods

impl ObjObject[src]

pub fn new() -> Self[src]

pub fn vertices(&self) -> &Vec<ObjLine>[src]

pub fn vertex_params(&self) -> &Vec<ObjLine>[src]

pub fn normals(&self) -> &Vec<ObjLine>[src]

pub fn texture_coords(&self) -> &Vec<ObjLine>[src]

pub fn interleaved(&self) -> Interleaved[src]

Trait Implementations

impl Debug for ObjObject[src]

Auto Trait Implementations

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.