[][src]Enum rendology::basic_obj::BasicObj

pub enum BasicObj {
    Triangle,
    Quad,
    Cube,
    Sphere,
    LineX,
    LineY,
    LineZ,
    TessellatedCube,
    TessellatedCylinder,
}

Variants

Triangle
Quad
Cube
Sphere
LineX
LineY
LineZ
TessellatedCube
TessellatedCylinder

Methods

impl BasicObj[src]

pub fn create_mesh<F: Facade>(
    self,
    facade: &F
) -> Result<Mesh<Vertex>, CreationError>
[src]

Trait Implementations

impl Clone for BasicObj[src]

impl Copy for BasicObj[src]

impl Debug for BasicObj[src]

impl Eq for BasicObj[src]

impl FromPrimitive for BasicObj[src]

impl<I: InstanceInput> Index<BasicObj> for RenderList<I>[src]

type Output = RenderList<I>

The returned type after indexing.

impl<I: InstanceInput> IndexMut<BasicObj> for RenderList<I>[src]

impl PartialEq<BasicObj> for BasicObj[src]

impl StructuralEq for BasicObj[src]

impl StructuralPartialEq for BasicObj[src]

impl ToPrimitive for BasicObj[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> Content for T where
    T: Copy
[src]

type Owned = T

A type that holds a sized version of the content.

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Scalar for T where
    T: Copy + PartialEq<T> + Any + Debug
[src]

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 

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.