pub struct BitmapFont(/* private fields */);
Expand description
A bitmap font that can be used to render text.
Implementations§
Source§impl BitmapFont
impl BitmapFont
Sourcepub fn properties(&self) -> Option<BitmapFontProperties>
pub fn properties(&self) -> Option<BitmapFontProperties>
Get the properties of this font.
Returns None
if the font is not currently loaded. It will be loaded in the background.
Just call this function again later until it returns Some
.
Auto Trait Implementations§
impl Freeze for BitmapFont
impl RefUnwindSafe for BitmapFont
impl Send for BitmapFont
impl Sync for BitmapFont
impl Unpin for BitmapFont
impl UnwindSafe for BitmapFont
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