pub struct GlyphId(/* private fields */);
Expand description
A 32-bit glyph identifier.
Implementations§
Trait Implementations§
source§impl Domain for GlyphId
impl Domain for GlyphId
source§fn is_continuous() -> bool
fn is_continuous() -> bool
Returns true if all u32 values between the mapped u32 min and mapped u32 max value of T are used.
source§fn ordered_values() -> impl DoubleEndedIterator
fn ordered_values() -> impl DoubleEndedIterator
Returns an iterator which iterates over all values in the domain of
T
Read moresource§fn ordered_values_range(
range: RangeInclusive<GlyphId>,
) -> impl DoubleEndedIterator
fn ordered_values_range( range: RangeInclusive<GlyphId>, ) -> impl DoubleEndedIterator
Return an iterator which iterates over all values of T in the given range. Read more
source§impl Ord for GlyphId
impl Ord for GlyphId
source§impl PartialOrd<GlyphId> for GlyphId16
impl PartialOrd<GlyphId> for GlyphId16
source§impl PartialOrd<GlyphId16> for GlyphId
impl PartialOrd<GlyphId16> for GlyphId
source§impl PartialOrd for GlyphId
impl PartialOrd for GlyphId
impl AnyBitPattern for GlyphId
impl Copy for GlyphId
impl Eq for GlyphId
impl StructuralPartialEq for GlyphId
Auto Trait Implementations§
impl Freeze for GlyphId
impl RefUnwindSafe for GlyphId
impl Send for GlyphId
impl Sync for GlyphId
impl Unpin for GlyphId
impl UnwindSafe for GlyphId
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> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
source§type Bits = T
type Bits = T
Self
must have the same layout as the specified Bits
except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern
.source§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self
.source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)