[][src]Struct nannou::mesh::vertex::WithColor

pub struct WithColor<V, C> {
    pub vertex: V,
    pub color: C,
}

A vertex with a specified color.

Fields

vertex: Vcolor: C

Trait Implementations

impl<S, V, C> ApplyTransform<S> for WithColor<V, C> where
    V: ApplyTransform<S>,
    S: BaseFloat
[src]

impl<V, C> Vertex for WithColor<V, C> where
    V: Vertex,
    C: Clone + Copy + PartialEq
[src]

type Scalar = V::Scalar

The values used to describe the vertex position.

impl<V, C> Vertex2d for WithColor<V, C> where
    V: Vertex2d,
    Self: Vertex<Scalar = V::Scalar>, 
[src]

impl<V, C> Vertex3d for WithColor<V, C> where
    V: Vertex3d,
    Self: Vertex<Scalar = V::Scalar>, 
[src]

impl<M, V, C> PushVertex<WithColor<V, C>> for WithColors<M, Vec<C>> where
    M: PushVertex<V>, 
[src]

impl<V: PartialEq, C: PartialEq> PartialEq<WithColor<V, C>> for WithColor<V, C>[src]

impl<A, V, C> From<(A, C)> for WithColor<V, C> where
    A: Into<V>, 
[src]

impl<V: Clone, C: Clone> Clone for WithColor<V, C>[src]

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

Performs copy-assignment from source. Read more

impl<V: Default, C: Default> Default for WithColor<V, C>[src]

impl<V: Copy, C: Copy> Copy for WithColor<V, C>[src]

impl<V, C> DerefMut for WithColor<V, C>[src]

impl<V: Debug, C: Debug> Debug for WithColor<V, C>[src]

impl<V, C> Deref for WithColor<V, C>[src]

type Target = V

The resulting type after dereferencing.

Auto Trait Implementations

impl<V, C> Send for WithColor<V, C> where
    C: Send,
    V: Send

impl<V, C> Sync for WithColor<V, C> where
    C: Sync,
    V: Sync

Blanket Implementations

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.