pub struct ScalableFont { /* private fields */ }Expand description
A font file loaded at an initial size, with lazy loading of additional pixel sizes.
Created by RaylibRender::load_font_ex_and_keep
and stored in the renderer’s font table. Queued sizes are flushed at the start of each frame.
This type has no public methods; interact through font IDs on TextConfig.
Auto Trait Implementations§
impl !Send for ScalableFont
impl !Sync for ScalableFont
impl Freeze for ScalableFont
impl RefUnwindSafe for ScalableFont
impl Unpin for ScalableFont
impl UnsafeUnpin for ScalableFont
impl UnwindSafe for ScalableFont
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
Source§impl<H, TailTarget, Source, Idx> Embed<RenderTList<H, TailTarget>, There<Idx>> for Sourcewhere
TailTarget: IsRenderList,
Source: Embed<TailTarget, Idx>,
impl<H, TailTarget, Source, Idx> Embed<RenderTList<H, TailTarget>, There<Idx>> for Sourcewhere
TailTarget: IsRenderList,
Source: Embed<TailTarget, Idx>,
Source§fn embed(self) -> RenderTList<H, TailTarget>
fn embed(self) -> RenderTList<H, TailTarget>
Converts
self into Target.