Font

Enum Font 

Source
pub enum Font {
Show 23 variants FontMonotye, Font8x12, Font12x20, Font16x24, Font24x32, Font32x48, Font14x19, Font21x27, Font14x25, FontRoman, FontEpl1, FontEpl2, FontEpl3, FontEpl4, FontEpl5, FontZplA, FontZplB, FontZplD, FontZplE8, FontZplF, FontZplG, FontZplH8, FontZplGs,
}

Variants§

§

FontMonotye

Monotye CG Triumvirate Bold Condensed, font width and height is stretchable

§

Font8x12

8 x 12 fixed pitch dot font

§

Font12x20

12 x 20 fixed pitch dot font

§

Font16x24

16 x 24 fixed pitch dot font

§

Font24x32

24 x 32 fixed pitch dot font

§

Font32x48

32 x 48 dot fixed pitch font

§

Font14x19

14 x 19 dot fixed pitch font OCR-B

§

Font21x27

21 x 27 dot fixed pitch font OCR-B

§

Font14x25

14 x25 dot fixed pitch font OCR-A

§

FontRoman

Monotye CG Triumvirate Bold Condensed, font width and height proportion is fixed

§

FontEpl1

EPL2 font 1

§

FontEpl2

EPL2 font 2

§

FontEpl3

EPL2 font 3

§

FontEpl4

EPL2 font 4

§

FontEpl5

EPL2 font 5

§

FontZplA

ZPL2 font A

§

FontZplB

ZPL2 font A

§

FontZplD

ZPL2 font D

§

FontZplE8

ZPL2 font E8

§

FontZplF

ZPL2 font F

§

FontZplG

ZPL2 font G

§

FontZplH8

ZPL2 font H8

§

FontZplGs

ZPL2 font GS

Trait Implementations§

Source§

impl Debug for Font

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Display for Font

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl Freeze for Font

§

impl RefUnwindSafe for Font

§

impl Send for Font

§

impl Sync for Font

§

impl Unpin for Font

§

impl UnwindSafe for Font

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.