Struct solstice_2d::Vertex3D[][src]

#[repr(C)]pub struct Vertex3D {
    pub position: [f32; 3],
    pub uv: [f32; 2],
    pub color: [f32; 4],
    pub normal: [f32; 3],
}

Fields

position: [f32; 3]uv: [f32; 2]color: [f32; 4]normal: [f32; 3]

Trait Implementations

impl<'a, V, I, G> BoxedGeometry<'a, Vertex3D, u32> for G where
    V: Iterator<Item = Vertex3D> + 'a,
    I: Iterator<Item = u32> + 'a,
    G: Geometry<Vertex3D, Vertices = V, Indices = I> + DynClone + Debug
[src]

impl Clone for Vertex3D[src]

impl Copy for Vertex3D[src]

impl Debug for Vertex3D[src]

impl<G> Draw<Vertex3D, G> for DrawList<'_> where
    G: Geometry<Vertex3D> + Clone + 'static, 
[src]

impl Geometry<Vertex3D> for Box[src]

type Vertices = IntoIter<Vertex3D>

type Indices = IntoIter<u32>

impl Geometry<Vertex3D> for Polyhedron[src]

type Vertices = IntoIter<Vertex3D>

type Indices = Range<u32>

impl Geometry<Vertex3D> for Sphere[src]

type Vertices = IntoIter<Vertex3D>

type Indices = IntoIter<u32>

impl PartialEq<Vertex3D> for Vertex3D[src]

impl StructuralPartialEq for Vertex3D[src]

impl Vertex for Vertex3D[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<'a, V, I, G> BoxedGeometry<'a, Vertex3D, u32> for G where
    V: 'a + Iterator<Item = Vertex3D>,
    I: Iterator<Item = u32> + 'a,
    G: Geometry<Vertex3D, Vertices = V, Indices = I> + DynClone + Debug
[src]

impl<'a, V, I, G> BoxedGeometry<'a, Vertex3D, u32> for G where
    V: 'a + Iterator<Item = Vertex3D>,
    I: Iterator<Item = u32> + 'a,
    G: Geometry<Vertex3D, Vertices = V, Indices = I> + DynClone + Debug
[src]

impl<'a, V, I, G> BoxedGeometry<'a, Vertex3D, u32> for G where
    V: 'a + Iterator<Item = Vertex3D>,
    I: Iterator<Item = u32> + 'a,
    G: Geometry<Vertex3D, Vertices = V, Indices = I> + DynClone + Debug
[src]

impl<T> DynClone for T where
    T: Clone
[src]

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Scalar for T where
    T: PartialEq<T> + Copy + 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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,