[][src]Struct nannou::mesh::WithIndices

pub struct WithIndices<M, I> { /* fields omitted */ }

A mesh type with an added channel containing indices describing the edges between vertices.

Trait Implementations

impl<M, I> ClearIndices for WithIndices<M, Vec<I>>[src]

impl<M, I> ClearVertices for WithIndices<M, Vec<I>> where
    M: ClearVertices
[src]

impl<M: Clone, I: Clone> Clone for WithIndices<M, I>[src]

impl<M, I> Colors for WithIndices<M, I> 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, I: Copy> Copy for WithIndices<M, I>[src]

impl<M: Debug, I: Debug> Debug for WithIndices<M, I>[src]

impl<M, I> Default for WithIndices<M, I> where
    M: Default,
    I: Default
[src]

impl<M, I> Deref for WithIndices<M, I>[src]

type Target = M

The resulting type after dereferencing.

impl<M, I> DerefMut for WithIndices<M, I>[src]

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

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

The slice type expected via the mesh. Read more

impl<M, I, Ix> GetVertex<Ix> for WithIndices<M, I> where
    M: GetVertex<Ix>, 
[src]

type Vertex = M::Vertex

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

impl<M, I> Indices for WithIndices<M, I> where
    I: Channel
[src]

type Index = I::Element

The type used to index into the vertex buffer.

type Indices = I

The channel type containing indices.

impl<M, I> Normals for WithIndices<M, I> where
    M: Normals
[src]

type Normal = M::Normal

The vector type used to represent the normal.

type Normals = M::Normals

The channel type containing vertex normals.

impl<M: PartialEq, I: PartialEq> PartialEq<WithIndices<M, I>> for WithIndices<M, I>[src]

impl<M, I> Points for WithIndices<M, I> 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, I> PushIndex for WithIndices<M, Vec<I>>[src]

type Index = I

The inner index type.

impl<M, I, V> PushVertex<V> for WithIndices<M, Vec<I>> where
    M: PushVertex<V>, 
[src]

impl<M, I> StructuralPartialEq for WithIndices<M, I>[src]

impl<M, I> TexCoords for WithIndices<M, I> 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, I> RefUnwindSafe for WithIndices<M, I> where
    I: RefUnwindSafe,
    M: RefUnwindSafe

impl<M, I> Send for WithIndices<M, I> where
    I: Send,
    M: Send

impl<M, I> Sync for WithIndices<M, I> where
    I: Sync,
    M: Sync

impl<M, I> Unpin for WithIndices<M, I> where
    I: Unpin,
    M: Unpin

impl<M, I> UnwindSafe for WithIndices<M, I> where
    I: UnwindSafe,
    M: UnwindSafe

Blanket Implementations

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
    D: AdaptFrom<S, Swp, Dwp, T>,
    Dwp: WhitePoint,
    Swp: WhitePoint,
    T: Component + Float
[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> From<T> for T[src]

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

impl<T> MemoryUsage for T where
    T: Deref + Debug,
    <T as Deref>::Target: MemoryUsage, 

impl<T> SetParameter for T

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<V, T> VZip<V> for T where
    V: MultiLane<T>,