[][src]Struct x1b::RGB8

pub struct RGB8(pub u8);

Implementations

impl RGB8[src]

pub fn rgb(r: u8, g: u8, b: u8) -> RGB8[src]

pub fn gray(s: u8) -> RGB8[src]

Trait Implementations

impl From<RGB4> for RGB8[src]

impl RGB for RGB8[src]

Auto Trait Implementations

impl RefUnwindSafe for RGB8

impl Send for RGB8

impl Sync for RGB8

impl Unpin for RGB8

impl UnwindSafe for RGB8

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