Struct piet_direct2d::D2DLoadedFonts
source · pub struct D2DLoadedFonts { /* private fields */ }
Expand description
The set of loaded fonts, shared between D2DText
instances.
If you are using piet in an application context, you should create
one of these objects and use it anytime you create a D2DText
.
Trait Implementations§
source§impl Clone for D2DLoadedFonts
impl Clone for D2DLoadedFonts
source§fn clone(&self) -> D2DLoadedFonts
fn clone(&self) -> D2DLoadedFonts
Returns a copy of the value. Read more
1.0.0 · 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 D2DLoadedFonts
impl !Send for D2DLoadedFonts
impl !Sync for D2DLoadedFonts
impl Unpin for D2DLoadedFonts
impl !UnwindSafe for D2DLoadedFonts
Blanket Implementations§
source§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
source§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.