[][src]Struct embedded_graphics::pixelcolor::raw::RawU24

pub struct RawU24(_);

24 bits per pixel raw data.

RawU24 is internally stored in an u32. It can be constructed from an u32 by using the new method or by calling RawU24::from(u32_value). To convert a RawU24 back into a u32 the into_inner method can be used.

See the module-level documentation for more information.

Methods

impl RawU24[src]

pub const fn new(value: u32) -> Self[src]

Creates a new color from the least significant 24 bits of value.

Trait Implementations

impl Clone for RawU24[src]

impl Copy for RawU24[src]

impl Debug for RawU24[src]

impl Default for RawU24[src]

impl Eq for RawU24[src]

impl From<Bgr888> for RawU24[src]

impl From<RawU24> for Rgb888[src]

impl From<RawU24> for Bgr888[src]

impl From<Rgb888> for RawU24[src]

impl From<u32> for RawU24[src]

impl Hash for RawU24[src]

impl Ord for RawU24[src]

impl PartialEq<RawU24> for RawU24[src]

impl PartialOrd<RawU24> for RawU24[src]

impl RawData for RawU24[src]

type Storage = u32

Storage type. Read more

impl StructuralEq for RawU24[src]

impl StructuralPartialEq for RawU24[src]

Auto Trait Implementations

impl Send for RawU24

impl Sync for RawU24

impl Unpin for RawU24

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> Same<T> for T

type Output = T

Should always be Self

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

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 

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