Struct webrender_api::FontInstanceKey
source · #[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
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
)