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

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

A Mesh type with an added channel containing texture coordinates.

Trait Implementations

impl<M, T, S> GetVertex for WithTexCoords<M, T, S> where
    M: GetVertex,
    T: Channel,
    T::Element: Clone
[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, S> Points for WithTexCoords<M, T, S> 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, T, S> Indices for WithTexCoords<M, T, S> where
    M: Indices
[src]

type Indices = M::Indices

The channel type containing indices.

impl<M, T, S> Colors for WithTexCoords<M, T, S> 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, T, S> TexCoords for WithTexCoords<M, T, S> where
    T: Channel<Element = Point2<S>>,
    S: BaseFloat
[src]

type TexCoordScalar = S

The scalar value used for the texture coordinates.

type TexCoords = T

The channel type containing texture coordinates.

impl<M, T, S> Normals for WithTexCoords<M, T, S> where
    M: Normals,
    M::Point: EuclideanSpace
[src]

type Normals = M::Normals

The channel type containing vertex normals.

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

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

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

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

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

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

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

Performs copy-assignment from source. Read more

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

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

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

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

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

type Target = M

The resulting type after dereferencing.

Auto Trait Implementations

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

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