[][src]Struct pel::Pel

#[repr(transparent)]
pub struct Pel(_);

Pixel.

Methods

impl Pel[src]

pub fn a(self) -> u8[src]

pub fn r(self) -> u8[src]

pub fn g(self) -> u8[src]

pub fn b(self) -> u8[src]

Trait Implementations

impl Clone for Pel[src]

impl Copy for Pel[src]

impl Debug for Pel[src]

impl Default for Pel[src]

impl Eq for Pel[src]

impl From<[f32; 4]> for Pel[src]

impl From<[u8; 4]> for Pel[src]

impl From<Pel> for u32[src]

impl From<Pel> for [u8; 4][src]

impl From<Pel> for [f32; 4][src]

impl From<u32> for Pel[src]

impl Hash for Pel[src]

impl PartialEq<Pel> for Pel[src]

impl StructuralEq for Pel[src]

impl StructuralPartialEq for Pel[src]

Auto Trait Implementations

impl RefUnwindSafe for Pel

impl Send for Pel

impl Sync for Pel

impl Unpin for Pel

impl UnwindSafe for Pel

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