Struct embedded_graphics::dev::TestPixelColor
source · pub struct TestPixelColor(pub u8);Expand description
Fake pixel colour useful for testing
Tuple Fields
0: u8Trait Implementations
sourceimpl Clone for TestPixelColor
impl Clone for TestPixelColor
sourcefn clone(&self) -> TestPixelColor
fn clone(&self) -> TestPixelColor
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for TestPixelColor
impl Debug for TestPixelColor
sourceimpl From<u8> for TestPixelColor
impl From<u8> for TestPixelColor
sourceimpl PartialEq<TestPixelColor> for TestPixelColor
impl PartialEq<TestPixelColor> for TestPixelColor
sourcefn eq(&self, other: &TestPixelColor) -> bool
fn eq(&self, other: &TestPixelColor) -> bool
impl Copy for TestPixelColor
impl PixelColor for TestPixelColor
impl StructuralPartialEq for TestPixelColor
Auto Trait Implementations
impl RefUnwindSafe for TestPixelColor
impl Send for TestPixelColor
impl Sync for TestPixelColor
impl Unpin for TestPixelColor
impl UnwindSafe for TestPixelColor
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more