[][src]Struct colorspace::rgb::RGBu8

#[repr(C)]pub struct RGBu8 {
    pub r: u8,
    pub g: u8,
    pub b: u8,
}

Fields

r: u8g: u8b: u8

Implementations

impl RGBu8[src]

pub fn cast_slice(slice: &[u8]) -> &[RGBu8][src]

Trait Implementations

impl Clone for RGBu8[src]

impl Copy for RGBu8[src]

impl Debug for RGBu8[src]

impl Default for RGBu8[src]

impl Display for RGBu8[src]

impl Eq for RGBu8[src]

impl From<RGBf<f32>> for RGBu8[src]

impl From<RGBf<f64>> for RGBu8[src]

impl From<RGBu8> for RGBf32[src]

impl From<RGBu8> for RGBf64[src]

impl PartialEq<RGBu8> for RGBu8[src]

impl PartialOrd<RGBu8> for RGBu8[src]

impl StructuralEq for RGBu8[src]

impl StructuralPartialEq for RGBu8[src]

Auto Trait Implementations

impl RefUnwindSafe for RGBu8

impl Send for RGBu8

impl Sync for RGBu8

impl Unpin for RGBu8

impl UnwindSafe for RGBu8

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> ToString for T where
    T: Display + ?Sized
[src]

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