[][src]Struct purrmitive::Bgra

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

BGR colors + alpha channel

Trait Implementations

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

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

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

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

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

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

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

type Output = T

The returned type after indexing.

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

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

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

type Subpixel = T

The underlying subpixel type.

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

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

Auto Trait Implementations

impl<T> RefUnwindSafe for Bgra<T> where
    T: RefUnwindSafe
[src]

impl<T> Send for Bgra<T> where
    T: Send
[src]

impl<T> Sync for Bgra<T> where
    T: Sync
[src]

impl<T> Unpin for Bgra<T> where
    T: Unpin
[src]

impl<T> UnwindSafe for Bgra<T> where
    T: UnwindSafe
[src]

Blanket Implementations

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> From<T> for T[src]

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

impl<T> SetParameter for 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>,