pub enum PixelSize {
Full,
HalfHeight,
HalfWidth,
Quadrant,
ThirdHeight,
Sextant,
QuarterHeight,
Octant,
}Variants§
Full
A pixel from the 8x8 font is represented by a full character cell in the terminal.
HalfHeight
A pixel from the 8x8 font is represented by a half (upper/lower) character cell in the terminal.
HalfWidth
A pixel from the 8x8 font is represented by a half (left/right) character cell in the terminal.
Quadrant
A pixel from the 8x8 font is represented by a quadrant of a character cell in the terminal.
ThirdHeight
A pixel from the 8x8 font is represented by a third (top/middle/bottom) of a character cell in the terminal. Note: depending on how the used terminal renders characters, the generated text with this PixelSize might look very strange.
Sextant
A pixel from the 8x8 font is represented by a sextant of a character cell in the terminal. Note: depending on how the used terminal renders characters, the generated text with this PixelSize might look very strange.
QuarterHeight
A pixel from the 8x8 font is represented by a quarter (top/upper-middle/lower-middle/bottom) of a character cell in the terminal. Note: depending on how the used terminal renders characters, the generated text with this PixelSize might look very strange.
Octant
A pixel from the 8x8 font is represented by an octant of a character cell in the terminal. Note: depending on how the used terminal renders characters, the generated text with this PixelSize might look very strange.
Trait Implementations§
impl Copy for PixelSize
impl Eq for PixelSize
impl StructuralPartialEq for PixelSize
Auto Trait Implementations§
impl Freeze for PixelSize
impl RefUnwindSafe for PixelSize
impl Send for PixelSize
impl Sync for PixelSize
impl Unpin for PixelSize
impl UnwindSafe for PixelSize
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.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>
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>
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