Struct nannou::mesh::WithNormals[][src]

pub struct WithNormals<M, N> { /* fields omitted */ }

A Mesh type with an added channel containing vertex normals.

Trait Implementations

impl<M, N> ClearIndices for WithNormals<M, N> where
    M: ClearIndices
[src]

impl<M, N> ClearVertices for WithNormals<M, Vec<N>> where
    M: ClearVertices
[src]

impl<M: Clone, N: Clone> Clone for WithNormals<M, N>[src]

impl<M, N> Colors for WithNormals<M, N> where
    M: Colors
[src]

type Color = M::Color

The color type stored within the channel.

type Colors = M::Colors

The channel type containing colors.

impl<M: Copy, N: Copy> Copy for WithNormals<M, N>[src]

impl<M: Debug, N: Debug> Debug for WithNormals<M, N>[src]

impl<M, N> Default for WithNormals<M, N> where
    M: Default,
    N: Default
[src]

impl<M, N> Deref for WithNormals<M, N>[src]

type Target = M

The resulting type after dereferencing.

impl<M, N> DerefMut for WithNormals<M, N>[src]

impl<'a, M, N> ExtendFromSlice<'a> for WithNormals<M, Vec<N>> where
    M: ExtendFromSlice<'a>,
    N: 'a + Clone
[src]

type Slice = (&'a [N], M::Slice)

The slice type expected via the mesh. Read more

impl<M, N, I> GetVertex<I> for WithNormals<M, N> where
    M: GetVertex<I>,
    N: Channel,
    N::Element: Clone,
    I: Copy + TryInto<usize>, 
[src]

type Vertex = WithNormal<M::Vertex, N::Element>

The vertex type representing all channels of data within the mesh at a single index.

impl<M, N> Indices for WithNormals<M, N> where
    M: Indices
[src]

type Index = M::Index

The type used to index into the vertex buffer.

type Indices = M::Indices

The channel type containing indices.

impl<M, N> Normals for WithNormals<M, N> where
    M: Points,
    N: Channel
[src]

type Normal = N::Element

The vector type used to represent the normal.

type Normals = N

The channel type containing vertex normals.

impl<M: PartialEq, N: PartialEq> PartialEq<WithNormals<M, N>> for WithNormals<M, N>[src]

impl<M, N> Points for WithNormals<M, N> where
    M: Points
[src]

type Point = M::Point

The vertex type used to represent the location of a vertex.

type Points = M::Points

The channel type containing points.

impl<M, N> PushIndex for WithNormals<M, N> where
    M: PushIndex
[src]

type Index = M::Index

The inner index type.

impl<M, V, N> PushVertex<WithNormal<V, N>> for WithNormals<M, Vec<N>> where
    M: PushVertex<V>, 
[src]

impl<M, N> StructuralPartialEq for WithNormals<M, N>[src]

impl<M, N> TexCoords for WithNormals<M, N> where
    M: TexCoords
[src]

type TexCoord = M::TexCoord

The point type used to represent texture coordinates.

type TexCoords = M::TexCoords

The channel type containing texture coordinates.

Auto Trait Implementations

impl<M, N> RefUnwindSafe for WithNormals<M, N> where
    M: RefUnwindSafe,
    N: RefUnwindSafe

impl<M, N> Send for WithNormals<M, N> where
    M: Send,
    N: Send

impl<M, N> Sync for WithNormals<M, N> where
    M: Sync,
    N: Sync

impl<M, N> Unpin for WithNormals<M, N> where
    M: Unpin,
    N: Unpin

impl<M, N> UnwindSafe for WithNormals<M, N> where
    M: UnwindSafe,
    N: UnwindSafe

Blanket Implementations

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
    T: Component + Float,
    D: AdaptFrom<S, Swp, Dwp, T>,
    Swp: WhitePoint,
    Dwp: WhitePoint
[src]

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> Clear for T where
    T: ClearIndices + ClearVertices
[src]

impl<T, U> ConvertInto<U> for T where
    U: ConvertFrom<T>, 
[src]

impl<T> Downcast<T> for T

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

impl<T> Instrument 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> SetParameter for T

impl<T> Style for T where
    T: Any + Debug + PartialEq<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.

impl<T> Upcast<T> for T

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