[][src]Enum obj::raw::object::Polygon

pub enum Polygon {
    P(Vec<usize>),
    PT(Vec<(usize, usize)>),
    PN(Vec<(usize, usize)>),
    PTN(Vec<(usize, usize, usize)>),
}

The Polygon type.

Variants

A polygon which contains only the position data of each vertex.

A polygon which contains both position and texture coordinate data of each vertex.

A polygon which contains both position and normal data of each vertex.

A polygon which contains all position, texture coordinate and normal data of each vertex.

Trait Implementations

impl Clone for Polygon[src]

impl Debug for Polygon[src]

impl Eq for Polygon[src]

impl PartialEq<Polygon> for Polygon[src]

impl StructuralEq for Polygon[src]

impl StructuralPartialEq for Polygon[src]

Auto Trait Implementations

impl RefUnwindSafe for Polygon

impl Send for Polygon

impl Sync for Polygon

impl Unpin for Polygon

impl UnwindSafe for Polygon

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.