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