[][src]Struct nannou::image::Rgba

#[repr(C)]pub struct Rgba<T>(pub [T; 4])
where
    T: Primitive
;

RGB colors + alpha channel

Trait Implementations

impl<T> Clone for Rgba<T> where
    T: Primitive + Clone
[src]

impl<T> Copy for Rgba<T> where
    T: Primitive + Copy
[src]

impl<T> Debug for Rgba<T> where
    T: Primitive + Debug
[src]

impl<T> Eq for Rgba<T> where
    T: Primitive + Eq
[src]

impl<T> From<[T; 4]> for Rgba<T> where
    T: 'static + Primitive
[src]

impl<T> Hash for Rgba<T> where
    T: Primitive + Hash
[src]

impl<T> Index<usize> for Rgba<T> where
    T: Primitive
[src]

type Output = T

The returned type after indexing.

impl<T> IndexMut<usize> for Rgba<T> where
    T: Primitive
[src]

impl<T> PartialEq<Rgba<T>> for Rgba<T> where
    T: Primitive + PartialEq<T>, 
[src]

impl<T> Pixel for Rgba<T> where
    T: 'static + Primitive
[src]

type Subpixel = T

The underlying subpixel type.

impl<T> StructuralEq for Rgba<T> where
    T: Primitive
[src]

impl<T> StructuralPartialEq for Rgba<T> where
    T: Primitive
[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for Rgba<T> where
    T: RefUnwindSafe

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

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

impl<T> Unpin for Rgba<T> where
    T: Unpin

impl<T> UnwindSafe for Rgba<T> where
    T: 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> NodeId for T where
    T: 'static + Copy + Clone + PartialEq<T> + Eq + Hash + Send
[src]

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>,