[][src]Struct rin::graphics::image::Rgba

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

RGB colors + alpha channel

Fields

Trait Implementations

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> Clone for Rgba<T> where
    T: Primitive + Clone
[src]

Performs copy-assignment from source. Read more

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

The underlying subpixel type.

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

Feeds a slice of this type into the given [Hasher]. Read more

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

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

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

The returned type after indexing.

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

Auto Trait Implementations

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

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

Blanket Implementations

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

impl<T> ToOwned for T where
    T: Clone
[src]

impl<T> From for T
[src]

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: Any
[src]

impl<T> SetParameter for T
[src]

Sets value as a parameter of self.

impl<V> IntoVec for V
[src]

impl<T> IntoPnt for T where
    T: Scalar
[src]

impl<T> IntoPnt for T where
    T: Scalar
[src]

impl<T> IntoPnt for T where
    T: Scalar
[src]

impl<V> IntoPnt for V
[src]

impl<T> Scalar for T where
    T: Copy + PartialEq<T> + Any + Debug
[src]

Tests if Self the same as the type T Read more

impl<SS, SP> SupersetOf for SP where
    SS: SubsetOf<SP>, 
[src]

impl<T> Same for T
[src]

Should always be Self