pub struct SoftwareTextResources { /* private fields */ }Expand description
Renderer-owned text resources: the resolved font used for software rasterization and measurement, if any.
Implementations§
Source§impl SoftwareTextResources
impl SoftwareTextResources
pub fn default_font() -> Self
pub fn fonts(&self) -> &SoftwareTextFontSet
Sourcepub fn with_installed_faces(&self) -> Option<Self>
pub fn with_installed_faces(&self) -> Option<Self>
These resources with the faces installed since they were made, or
None while no face was installed since.
Trait Implementations§
Source§impl Clone for SoftwareTextResources
impl Clone for SoftwareTextResources
Auto Trait Implementations§
impl !RefUnwindSafe for SoftwareTextResources
impl !UnwindSafe for SoftwareTextResources
impl Freeze for SoftwareTextResources
impl Send for SoftwareTextResources
impl Sync for SoftwareTextResources
impl Unpin for SoftwareTextResources
impl UnsafeUnpin for SoftwareTextResources
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