pub enum Led2dFont {
Show 45 variants
Font3x4Trim,
Font4x6,
Font3x5Trim,
Font5x7,
Font4x6Trim,
Font5x8,
Font4x7Trim,
Font6x9,
Font5x8Trim,
Font6x10,
Font5x9Trim,
Font6x12,
Font5x11Trim,
Font6x13,
Font5x12Trim,
Font6x13Bold,
Font5x12TrimBold,
Font6x13Italic,
Font5x12TrimItalic,
Font7x13,
Font6x12Trim,
Font7x13Bold,
Font6x12TrimBold,
Font7x13Italic,
Font6x12TrimItalic,
Font7x14,
Font6x13Trim,
Font7x14Bold,
Font6x13TrimBold,
Font8x13,
Font7x12Trim,
Font8x13Bold,
Font7x12TrimBold,
Font8x13Italic,
Font7x12TrimItalic,
Font9x15,
Font8x14Trim,
Font9x15Bold,
Font8x14TrimBold,
Font9x18,
Font8x17Trim,
Font9x18Bold,
Font8x17TrimBold,
Font10x20,
Font9x19Trim,
}Expand description
Fonts available for use with led2d module panels.
Fonts with Trim suffix remove blank spacing to pack text more tightly on small displays.
Variants§
Font3x4Trim
3x4 monospace font, trimmed (compact layout).
Font4x6
4x6 monospace font.
Font3x5Trim
3x5 monospace font, trimmed (compact layout).
Font5x7
5x7 monospace font.
Font4x6Trim
4x6 monospace font, trimmed (compact layout).
Font5x8
5x8 monospace font.
Font4x7Trim
4x7 monospace font, trimmed (compact layout).
Font6x9
6x9 monospace font.
Font5x8Trim
5x8 monospace font, trimmed (compact layout).
Font6x10
6x10 monospace font.
Font5x9Trim
5x9 monospace font, trimmed (compact layout).
Font6x12
6x12 monospace font.
Font5x11Trim
5x11 monospace font, trimmed (compact layout).
Font6x13
6x13 monospace font.
Font5x12Trim
5x12 monospace font, trimmed (compact layout).
Font6x13Bold
6x13 bold monospace font.
Font5x12TrimBold
5x12 bold monospace font, trimmed (compact layout).
Font6x13Italic
6x13 italic monospace font.
Font5x12TrimItalic
5x12 italic monospace font, trimmed (compact layout).
Font7x13
7x13 monospace font.
Font6x12Trim
6x12 monospace font, trimmed (compact layout).
Font7x13Bold
7x13 bold monospace font.
Font6x12TrimBold
6x12 bold monospace font, trimmed (compact layout).
Font7x13Italic
7x13 italic monospace font.
Font6x12TrimItalic
6x12 italic monospace font, trimmed (compact layout).
Font7x14
7x14 monospace font.
Font6x13Trim
6x13 monospace font, trimmed (compact layout).
Font7x14Bold
7x14 bold monospace font.
Font6x13TrimBold
6x13 bold monospace font, trimmed (compact layout).
Font8x13
8x13 monospace font.
Font7x12Trim
7x12 monospace font, trimmed (compact layout).
Font8x13Bold
8x13 bold monospace font.
Font7x12TrimBold
7x12 bold monospace font, trimmed (compact layout).
Font8x13Italic
8x13 italic monospace font.
Font7x12TrimItalic
7x12 italic monospace font, trimmed (compact layout).
Font9x15
9x15 monospace font.
Font8x14Trim
8x14 monospace font, trimmed (compact layout).
Font9x15Bold
9x15 bold monospace font.
Font8x14TrimBold
8x14 bold monospace font, trimmed (compact layout).
Font9x18
9x18 monospace font.
Font8x17Trim
8x17 monospace font, trimmed (compact layout).
Font9x18Bold
9x18 bold monospace font.
Font8x17TrimBold
8x17 bold monospace font, trimmed (compact layout).
Font10x20
10x20 monospace font.
Font9x19Trim
9x19 monospace font, trimmed (compact layout).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Led2dFont
impl RefUnwindSafe for Led2dFont
impl Send for Led2dFont
impl Sync for Led2dFont
impl Unpin for Led2dFont
impl UnwindSafe for Led2dFont
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> CheckedAs for T
impl<T> CheckedAs for T
Source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
Source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
Source§fn checked_cast_from(src: Src) -> Option<Dst>
fn checked_cast_from(src: Src) -> Option<Dst>
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>
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