pub struct AddFontInstance {
pub key: FontInstanceKey,
pub font_key: FontKey,
pub glyph_size: Au,
pub options: Option<FontInstanceOptions>,
pub platform_options: Option<FontInstancePlatformOptions>,
pub variations: Vec<FontVariation>,
}
Fields§
§key: FontInstanceKey
§font_key: FontKey
§glyph_size: Au
§options: Option<FontInstanceOptions>
§platform_options: Option<FontInstancePlatformOptions>
§variations: Vec<FontVariation>
Trait Implementations§
Source§impl Clone for AddFontInstance
impl Clone for AddFontInstance
Source§fn clone(&self) -> AddFontInstance
fn clone(&self) -> AddFontInstance
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 moreSource§impl Debug for AddFontInstance
impl Debug for AddFontInstance
Source§impl PartialEq for AddFontInstance
impl PartialEq for AddFontInstance
Source§impl PartialOrd for AddFontInstance
impl PartialOrd for AddFontInstance
impl StructuralPartialEq for AddFontInstance
Auto Trait Implementations§
impl Freeze for AddFontInstance
impl RefUnwindSafe for AddFontInstance
impl Send for AddFontInstance
impl Sync for AddFontInstance
impl Unpin for AddFontInstance
impl UnwindSafe for AddFontInstance
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)