[][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> GetVertex for WithIndices<M, I> where
    M: GetVertex
[src]

type Vertex = M::Vertex

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

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

type Scalar = M::Scalar

The scalar value used for the vertex coordinates.

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> Indices for WithIndices<M, I> where
    I: Channel<Element = usize>, 
[src]

type Indices = I

The channel type containing indices.

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, I> TexCoords for WithIndices<M, I> where
    M: TexCoords
[src]

type TexCoordScalar = M::TexCoordScalar

The scalar value used for the texture coordinates.

type TexCoords = M::TexCoords

The channel type containing texture coordinates.

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

type Normals = M::Normals

The channel type containing vertex normals.

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

impl<M> PushIndex for WithIndices<M, Vec<usize>>[src]

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

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

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

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

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

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

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

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

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

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

type Target = M

The resulting type after dereferencing.

Auto Trait Implementations

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

Blanket Implementations

impl<T> Clear for T where
    T: ClearIndices + ClearVertices
[src]

fn clear(&mut self)[src]

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

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

type Owned = T

The resulting type after obtaining ownership.

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

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> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Style for T where
    T: Any + Debug + PartialEq<T>, 
[src]

impl<T> DeviceOwned for T where
    T: Deref,
    <T as Deref>::Target: DeviceOwned
[src]

impl<T> Content for T[src]

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

impl<T> Erased for T

impl<S> FromSample<S> for S[src]

impl<T, U> ToSample<U> for T where
    U: FromSample<T>, 
[src]

impl<S, T> Duplex<S> for T where
    T: FromSample<S> + ToSample<S>, 
[src]

impl<T> SetParameter for T

fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
    T: Parameter<Self>, 

Sets value as a parameter of self.

impl<T> SetParameter for T

fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
    T: Parameter<Self>, 

Sets value as a parameter of self.