Struct nannou::geom::vertex::Srgba[][src]

pub struct Srgba<V = Default>(pub V, pub Srgba);

A vertex that is colored with the given sRGBA color.

Implementations

impl<V> Srgba<V>[src]

pub fn vertex(&self) -> &V[src]

A reference to the inner vertex.

pub fn rgba(&self) -> &Srgba[src]

A reference to the inner rgba.

Trait Implementations

impl<V: Clone> Clone for Srgba<V>[src]

impl<V: Copy> Copy for Srgba<V>[src]

impl<V: Debug> Debug for Srgba<V>[src]

impl<V> Deref for Srgba<V>[src]

type Target = V

The resulting type after dereferencing.

impl<V> DerefMut for Srgba<V>[src]

impl<V> From<(V, Alpha<Rgb<Srgb, f32>, f32>)> for Srgba<V>[src]

impl<V> Into<(V, Alpha<Rgb<Srgb, f32>, f32>)> for Srgba<V>[src]

impl<V: PartialEq> PartialEq<Srgba<V>> for Srgba<V>[src]

impl<V> StructuralPartialEq for Srgba<V>[src]

impl<V> Vertex for Srgba<V> where
    V: Vertex
[src]

type Scalar = V::Scalar

The values used to describe the vertex position.

impl<V> Vertex2d for Srgba<V> where
    V: Vertex2d
[src]

impl<V> Vertex3d for Srgba<V> where
    V: Vertex3d
[src]

Auto Trait Implementations

impl<V> RefUnwindSafe for Srgba<V> where
    V: RefUnwindSafe

impl<V> Send for Srgba<V> where
    V: Send

impl<V> Sync for Srgba<V> where
    V: Sync

impl<V> Unpin for Srgba<V> where
    V: Unpin

impl<V> UnwindSafe for Srgba<V> where
    V: UnwindSafe

Blanket Implementations

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
    T: Component + Float,
    D: AdaptFrom<S, Swp, Dwp, T>,
    Swp: WhitePoint,
    Dwp: WhitePoint
[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> Downcast<T> for T

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

impl<T> Instrument for T[src]

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

impl<T> Pointable for T

type Init = T

The type for initializers.

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<T> Upcast<T> for T

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,