pub struct StyleFontFamiliesHash(pub u64);Expand description
Calculated hash of a font-family
Tuple Fields§
§0: u64Implementations§
Source§impl StyleFontFamiliesHash
impl StyleFontFamiliesHash
pub fn new(families: &[StyleFontFamily]) -> Self
Trait Implementations§
Source§impl Clone for StyleFontFamiliesHash
impl Clone for StyleFontFamiliesHash
Source§fn clone(&self) -> StyleFontFamiliesHash
fn clone(&self) -> StyleFontFamiliesHash
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 StyleFontFamiliesHash
impl Debug for StyleFontFamiliesHash
Source§impl Hash for StyleFontFamiliesHash
impl Hash for StyleFontFamiliesHash
Source§impl Ord for StyleFontFamiliesHash
impl Ord for StyleFontFamiliesHash
Source§fn cmp(&self, other: &StyleFontFamiliesHash) -> Ordering
fn cmp(&self, other: &StyleFontFamiliesHash) -> 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 StyleFontFamiliesHash
impl PartialEq for StyleFontFamiliesHash
Source§impl PartialOrd for StyleFontFamiliesHash
impl PartialOrd for StyleFontFamiliesHash
impl Copy for StyleFontFamiliesHash
impl Eq for StyleFontFamiliesHash
impl StructuralPartialEq for StyleFontFamiliesHash
Auto Trait Implementations§
impl Freeze for StyleFontFamiliesHash
impl RefUnwindSafe for StyleFontFamiliesHash
impl Send for StyleFontFamiliesHash
impl Sync for StyleFontFamiliesHash
impl Unpin for StyleFontFamiliesHash
impl UnwindSafe for StyleFontFamiliesHash
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