[][src]Struct nannou::mesh::WithTexCoords

pub struct WithTexCoords<M, T> { /* fields omitted */ }

A Mesh type with an added channel containing texture coordinates.

Trait Implementations

impl<M, T> ClearIndices for WithTexCoords<M, T> where
    M: ClearIndices
[src]

impl<M, T> ClearVertices for WithTexCoords<M, Vec<T>> where
    M: ClearVertices
[src]

impl<M: Clone, T: Clone> Clone for WithTexCoords<M, T>[src]

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

impl<M: Debug, T: Debug> Debug for WithTexCoords<M, T>[src]

impl<M, T> Default for WithTexCoords<M, T> where
    M: Default,
    T: Default
[src]

impl<M, T> Deref for WithTexCoords<M, T>[src]

type Target = M

The resulting type after dereferencing.

impl<M, T> DerefMut for WithTexCoords<M, T>[src]

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

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

The slice type expected via the mesh. Read more

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

type Vertex = WithTexCoords<M::Vertex, T::Element>

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

impl<M, T> Indices for WithTexCoords<M, T> 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, T> Normals for WithTexCoords<M, T> 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, T: PartialEq> PartialEq<WithTexCoords<M, T>> for WithTexCoords<M, T>[src]

impl<M, T> Points for WithTexCoords<M, T> 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, T> PushIndex for WithTexCoords<M, T> where
    M: PushIndex
[src]

type Index = M::Index

The inner index type.

impl<M, V, T> PushVertex<WithTexCoords<V, T>> for WithTexCoords<M, Vec<T>> where
    M: PushVertex<V>, 
[src]

impl<M, T> StructuralPartialEq for WithTexCoords<M, T>[src]

impl<M, T> TexCoords for WithTexCoords<M, T> where
    T: Channel
[src]

type TexCoord = T::Element

The point type used to represent texture coordinates.

type TexCoords = T

The channel type containing texture coordinates.

Auto Trait Implementations

impl<M, T> RefUnwindSafe for WithTexCoords<M, T> where
    M: RefUnwindSafe,
    T: RefUnwindSafe

impl<M, T> Send for WithTexCoords<M, T> where
    M: Send,
    T: Send

impl<M, T> Sync for WithTexCoords<M, T> where
    M: Sync,
    T: Sync

impl<M, T> Unpin for WithTexCoords<M, T> where
    M: Unpin,
    T: Unpin

impl<M, T> UnwindSafe for WithTexCoords<M, T> where
    M: UnwindSafe,
    T: 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>,