[−][src]Enum epd_waveshare_uart::color::EpdColor
Variants
Methods
impl EpdColor
[src]
pub fn get_bit_value(self) -> u8
[src]
Get the color encoding of the color for one bit
pub fn get_byte_value(self) -> u8
[src]
Gets a full byte of black or white pixels
pub fn inverse(self) -> EpdColor
[src]
Returns the inverse of the given color.
Black returns White and White returns Black
Trait Implementations
impl Clone for EpdColor
[src]
impl Copy for EpdColor
[src]
impl Debug for EpdColor
[src]
impl<'a> Drawing<EpdColor> for VarDisplay<'a>
[src]
fn draw<T>(&mut self, item_pixels: T) where
T: IntoIterator<Item = Pixel<EpdColor>>,
[src]
T: IntoIterator<Item = Pixel<EpdColor>>,
impl Drawing<EpdColor> for Display4in3
[src]
fn draw<T>(&mut self, item_pixels: T) where
T: IntoIterator<Item = Pixel<EpdColor>>,
[src]
T: IntoIterator<Item = Pixel<EpdColor>>,
impl Eq for EpdColor
[src]
impl From<u8> for EpdColor
[src]
impl PartialEq<EpdColor> for EpdColor
[src]
impl PixelColor for EpdColor
[src]
impl StructuralEq for EpdColor
[src]
impl StructuralPartialEq for EpdColor
[src]
Auto Trait Implementations
impl RefUnwindSafe for EpdColor
impl Send for EpdColor
impl Sync for EpdColor
impl Unpin for EpdColor
impl UnwindSafe for EpdColor
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,