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

pub struct WithColor<V, C = LinSrgba<DefaultScalar>> {
    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: Clone, C: Clone> Clone for WithColor<V, C>[src]

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

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

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

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

type Target = V

The resulting type after dereferencing.

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

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

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

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

impl<V, C> StructuralPartialEq for WithColor<V, C>[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]

Auto Trait Implementations

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

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

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

impl<V, C> UnwindSafe for WithColor<V, C> where
    C: UnwindSafe,
    V: 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, 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>,