pub enum Dense1x2 {
Dark,
Light,
}
Variants§
Trait Implementations§
Source§impl Pixel for Dense1x2
impl Pixel for Dense1x2
Source§type Canvas = Canvas1x2
type Canvas = Canvas1x2
The type that stores an intermediate buffer before finalizing to a
concrete image
Source§fn default_color(color: Color) -> Dense1x2
fn default_color(color: Color) -> Dense1x2
Obtains the default pixel color when a module is dark or light.
Source§fn default_unit_size() -> (u32, u32)
fn default_unit_size() -> (u32, u32)
Obtains the default module size. The result must be at least 1×1.
impl Copy for Dense1x2
impl StructuralPartialEq for Dense1x2
Auto Trait Implementations§
impl Freeze for Dense1x2
impl RefUnwindSafe for Dense1x2
impl Send for Dense1x2
impl Sync for Dense1x2
impl Unpin for Dense1x2
impl UnwindSafe for Dense1x2
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more