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

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

A vertex that is colored with the given linear RGBA color.

Methods

impl<V> Rgba<V>
[src]

Important traits for &'a mut R

A reference to the inner vertex.

A reference to the inner rgba.

Trait Implementations

impl<S, V> IntoVertex<S> for Rgba<V> where
    S: BaseFloat,
    V: Vertex<Scalar = S>,
    (V, Color): IntoVertex<S>, 
[src]

Convert self into a Vertex.

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

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

Formats the value using the given formatter. Read more

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

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

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

The resulting type after dereferencing.

Dereferences the value.

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

Mutably dereferences the value.

impl<V> From<(V, Rgba)> for Rgba<V>
[src]

Performs the conversion.

impl<V> Into<(V, Rgba)> for Rgba<V>
[src]

Performs the conversion.

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

The values used to describe the vertex position.

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

The x, y location of the vertex.

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

The x, y, z location of the vertex.

Auto Trait Implementations

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

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