pub enum HersheyFont {
Show 28 variants
Romant,
Romans,
Meteo,
Symbol,
Music,
Cyrilc,
Greekcs,
Uppmat,
Italict,
Scriptc,
Romanc,
Lowmat,
Gotheng,
Gothger,
Marker,
Greeks,
Astrol,
Romancs,
Scripts,
Italiccs,
Italicc,
Romand,
Romanp,
Gothita,
Misc,
Japan,
Greekc,
Greekp,
}Expand description
A specific Hershey font mapping file which defines a font in terms of symbol ranges (.hmp file).
Variants§
Romant
Romans
Meteo
Symbol
Music
Cyrilc
Greekcs
Uppmat
Italict
Scriptc
Romanc
Lowmat
Gotheng
Gothger
Marker
Greeks
Astrol
Romancs
Scripts
Italiccs
Italicc
Romand
Romanp
Gothita
Misc
Japan
Greekc
Greekp
Trait Implementations§
Source§impl Renderer<HersheyFont> for HersheyRenderer
impl Renderer<HersheyFont> for HersheyRenderer
Source§fn render_text(text: &str, font: HersheyFont) -> Vec<Point>
fn render_text(text: &str, font: HersheyFont) -> Vec<Point>
Render the given text string to a series of points,
using the given font mapping.
Auto Trait Implementations§
impl Freeze for HersheyFont
impl RefUnwindSafe for HersheyFont
impl Send for HersheyFont
impl Sync for HersheyFont
impl Unpin for HersheyFont
impl UnsafeUnpin for HersheyFont
impl UnwindSafe for HersheyFont
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