Struct gpui2::FontFamilyId
source · pub struct FontFamilyId(pub usize);
Tuple Fields§
§0: usize
Trait Implementations§
source§impl Clone for FontFamilyId
impl Clone for FontFamilyId
source§fn clone(&self) -> FontFamilyId
fn clone(&self) -> FontFamilyId
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 FontFamilyId
impl Debug for FontFamilyId
source§impl Hash for FontFamilyId
impl Hash for FontFamilyId
source§impl PartialEq<FontFamilyId> for FontFamilyId
impl PartialEq<FontFamilyId> for FontFamilyId
source§fn eq(&self, other: &FontFamilyId) -> bool
fn eq(&self, other: &FontFamilyId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for FontFamilyId
impl Eq for FontFamilyId
impl StructuralEq for FontFamilyId
impl StructuralPartialEq for FontFamilyId
Auto Trait Implementations§
impl RefUnwindSafe for FontFamilyId
impl Send for FontFamilyId
impl Sync for FontFamilyId
impl Unpin for FontFamilyId
impl UnwindSafe for FontFamilyId
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.