pub struct LoadedFont {
pub font: Font,
pub sheet: Option<SheetId>,
pub ascent: i32,
}Expand description
A loaded font.
Fields§
§font: FontThe font: its glyphs and metrics.
sheet: Option<SheetId>The sprite sheet of its glyphs.
ascent: i32Pixels from the line top to the baseline.
Auto Trait Implementations§
impl Freeze for LoadedFont
impl RefUnwindSafe for LoadedFont
impl Send for LoadedFont
impl Sync for LoadedFont
impl Unpin for LoadedFont
impl UnsafeUnpin for LoadedFont
impl UnwindSafe for LoadedFont
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