pub struct HersheyRenderer;Expand description
A Renderer which draws text using Hershey fonts.
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 HersheyRenderer
impl RefUnwindSafe for HersheyRenderer
impl Send for HersheyRenderer
impl Sync for HersheyRenderer
impl Unpin for HersheyRenderer
impl UnsafeUnpin for HersheyRenderer
impl UnwindSafe for HersheyRenderer
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