pub enum HersheyFont {
Show 28 variants
Marker,
Meteo,
Romand,
Misc,
Scriptc,
Greeks,
Italict,
Gothita,
Japan,
Romancs,
Romant,
Uppmat,
Scripts,
Symbol,
Romanp,
Italiccs,
Italicc,
Astrol,
Romans,
Greekcs,
Gothger,
Romanc,
Greekc,
Music,
Lowmat,
Greekp,
Gotheng,
Cyrilc,
}Expand description
A specific Hershey font mapping file which defines a font in terms of symbol ranges (.hmp file).
Variants§
Marker
Meteo
Romand
Misc
Scriptc
Greeks
Italict
Gothita
Japan
Romancs
Romant
Uppmat
Scripts
Symbol
Romanp
Italiccs
Italicc
Astrol
Romans
Greekcs
Gothger
Romanc
Greekc
Music
Lowmat
Greekp
Gotheng
Cyrilc
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