pub struct FontInstanceKey {
pub namespace: IdNamespace,
pub key: u32,
}Fields§
§namespace: IdNamespace§key: u32Implementations§
Source§impl FontInstanceKey
impl FontInstanceKey
pub fn unique(render_api_namespace: IdNamespace) -> 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 · 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 Hash for FontInstanceKey
impl Hash for FontInstanceKey
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
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more