struct VarLookupKey<'a>(&'a [NormalizedCoord]);Expand description
Lookup key for variable font caches (borrowed version).
Tuple Fields§
§0: &'a [NormalizedCoord]Trait Implementations§
Source§impl<'a> Clone for VarLookupKey<'a>
impl<'a> Clone for VarLookupKey<'a>
Source§fn clone(&self) -> VarLookupKey<'a>
fn clone(&self) -> VarLookupKey<'a>
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 moreSource§impl<'a> Debug for VarLookupKey<'a>
impl<'a> Debug for VarLookupKey<'a>
Source§impl Equivalent<SmallVec<[F2Dot14; 4]>> for VarLookupKey<'_>
impl Equivalent<SmallVec<[F2Dot14; 4]>> for VarLookupKey<'_>
Source§fn equivalent(&self, other: &SmallVec<[NormalizedCoord; 4]>) -> bool
fn equivalent(&self, other: &SmallVec<[NormalizedCoord; 4]>) -> bool
Checks if this value is equivalent to the given key. Read more
Source§impl From<VarLookupKey<'_>> for SmallVec<[NormalizedCoord; 4]>
impl From<VarLookupKey<'_>> for SmallVec<[NormalizedCoord; 4]>
Source§fn from(key: VarLookupKey<'_>) -> Self
fn from(key: VarLookupKey<'_>) -> Self
Converts to this type from the input type.
Source§impl<'a> Hash for VarLookupKey<'a>
impl<'a> Hash for VarLookupKey<'a>
Source§impl<'a> PartialEq for VarLookupKey<'a>
impl<'a> PartialEq for VarLookupKey<'a>
Source§fn eq(&self, other: &VarLookupKey<'a>) -> bool
fn eq(&self, other: &VarLookupKey<'a>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<'a> Copy for VarLookupKey<'a>
impl<'a> Eq for VarLookupKey<'a>
impl<'a> StructuralPartialEq for VarLookupKey<'a>
Auto Trait Implementations§
impl<'a> Freeze for VarLookupKey<'a>
impl<'a> RefUnwindSafe for VarLookupKey<'a>
impl<'a> Send for VarLookupKey<'a>
impl<'a> Sync for VarLookupKey<'a>
impl<'a> Unpin for VarLookupKey<'a>
impl<'a> UnsafeUnpin for VarLookupKey<'a>
impl<'a> UnwindSafe for VarLookupKey<'a>
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