Struct bdf_reader::Font
source · [−]pub struct Font { /* private fields */ }
Implementations
sourceimpl Font
impl Font
sourcepub fn bounding_box(&self) -> BoundingBox
pub fn bounding_box(&self) -> BoundingBox
Get the default bounding box for glyphs.
sourcepub fn glyphs(&self) -> impl IntoIterator<Item = &Glyph>
pub fn glyphs(&self) -> impl IntoIterator<Item = &Glyph>
Get an iterator over all glyphs of the font.
Auto Trait Implementations
impl RefUnwindSafe for Font
impl Send for Font
impl Sync for Font
impl Unpin for Font
impl UnwindSafe for Font
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more