pub struct FontFaceKey { /* private fields */ }Implementations§
Source§impl FontFaceKey
impl FontFaceKey
pub fn new( font_data_id: u64, face_index: u32, variation_key: u64, synthesis_embolden: bool, synthesis_skew_degrees: i8, ) -> Self
pub fn font_data_id(&self) -> u64
pub fn face_index(&self) -> u32
pub fn variation_key(&self) -> u64
pub fn synthesis_embolden(&self) -> bool
pub fn synthesis_skew_degrees(&self) -> i8
pub fn into_parts(self) -> (u64, u32, u64, bool, i8)
Trait Implementations§
Source§impl Clone for FontFaceKey
impl Clone for FontFaceKey
Source§fn clone(&self) -> FontFaceKey
fn clone(&self) -> FontFaceKey
Returns a duplicate 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 FontFaceKey
impl Debug for FontFaceKey
Source§impl Hash for FontFaceKey
impl Hash for FontFaceKey
Source§impl PartialEq for FontFaceKey
impl PartialEq for FontFaceKey
impl Copy for FontFaceKey
impl Eq for FontFaceKey
impl StructuralPartialEq for FontFaceKey
Auto Trait Implementations§
impl Freeze for FontFaceKey
impl RefUnwindSafe for FontFaceKey
impl Send for FontFaceKey
impl Sync for FontFaceKey
impl Unpin for FontFaceKey
impl UnsafeUnpin for FontFaceKey
impl UnwindSafe for FontFaceKey
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.