#[repr(transparent)]pub struct GlyphId(pub u16);
Expand description
A type-safe wrapper for glyph ID.
Tuple Fields§
§0: u16
Trait Implementations§
Source§impl Ord for GlyphId
impl Ord for GlyphId
Source§impl PartialOrd for GlyphId
impl PartialOrd 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> 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
)