Struct wgpu_glyph::FontId [−]
pub struct FontId(pub usize);
Expand description
Id for a font.
Tuple Fields
0: usize
Trait Implementations
impl PartialOrd<FontId> for FontId
impl PartialOrd<FontId> for FontId
pub fn partial_cmp(&self, other: &FontId) -> Option<Ordering>
pub fn partial_cmp(&self, other: &FontId) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
impl StructuralEq for FontId
impl StructuralPartialEq for FontId
Auto Trait Implementations
impl RefUnwindSafe for FontId
impl UnwindSafe for FontId
Blanket Implementations
Mutably borrows from an owned value. Read more