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
Trait Implementations§
Source§impl Clone for SoftwareTextResources
impl Clone for SoftwareTextResources
Source§fn clone(&self) -> SoftwareTextResources
fn clone(&self) -> SoftwareTextResources
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto 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