pub struct FontInstanceKey(pub IdNamespace, pub u32);Tuple Fields§
§0: IdNamespace§1: u32Implementations§
Source§impl FontInstanceKey
impl FontInstanceKey
pub fn new(namespace: IdNamespace, key: u32) -> Self
Trait Implementations§
Source§impl Clone for FontInstanceKey
impl Clone for FontInstanceKey
Source§fn clone(&self) -> FontInstanceKey
fn clone(&self) -> FontInstanceKey
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 moreimpl Copy for FontInstanceKey
Source§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
impl Eq for FontInstanceKey
Source§impl Hash for FontInstanceKey
impl Hash for FontInstanceKey
Source§impl PartialEq for FontInstanceKey
impl PartialEq for FontInstanceKey
Source§impl Serialize for FontInstanceKey
impl Serialize 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 UnsafeUnpin 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