#[repr(C)]pub struct FontInstanceKey(pub IdNamespace, pub u32);
Tuple Fields§
§0: IdNamespace
§1: u32
Implementations§
Source§impl FontInstanceKey
impl FontInstanceKey
pub fn new(namespace: IdNamespace, key: u32) -> FontInstanceKey
Trait Implementations§
Source§impl Clone for FontInstanceKey
impl Clone for FontInstanceKey
Source§fn clone(&self) -> FontInstanceKey
fn clone(&self) -> FontInstanceKey
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 FontInstanceKey
impl Debug for FontInstanceKey
Source§impl Default for FontInstanceKey
impl Default for FontInstanceKey
Source§fn default() -> FontInstanceKey
fn default() -> FontInstanceKey
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FontInstanceKey
impl<'de> Deserialize<'de> for FontInstanceKey
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for FontInstanceKey
impl Hash for FontInstanceKey
Source§impl MallocSizeOf for FontInstanceKey
impl MallocSizeOf for FontInstanceKey
Source§fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
Measure the heap usage of all descendant heap-allocated structures, but
not the space taken up by the value itself.
Source§impl Ord for FontInstanceKey
impl Ord for FontInstanceKey
Source§fn cmp(&self, other: &FontInstanceKey) -> Ordering
fn cmp(&self, other: &FontInstanceKey) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for FontInstanceKey
impl PartialEq for FontInstanceKey
Source§impl PartialOrd for FontInstanceKey
impl PartialOrd for FontInstanceKey
Source§impl Peek for FontInstanceKey
impl Peek for FontInstanceKey
Source§impl Poke for FontInstanceKey
impl Poke for FontInstanceKey
Source§impl Serialize for FontInstanceKey
impl Serialize for FontInstanceKey
impl Copy for FontInstanceKey
impl Eq for FontInstanceKey
impl StructuralPartialEq for FontInstanceKey
Auto Trait Implementations§
impl Freeze for FontInstanceKey
impl RefUnwindSafe for FontInstanceKey
impl Send for FontInstanceKey
impl Sync for FontInstanceKey
impl Unpin for FontInstanceKey
impl UnwindSafe for FontInstanceKey
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