Struct ttf_parser::tables::cff::StringId
source · pub struct StringId(u16);
Expand description
A type-safe wrapper for string ID.
Tuple Fields§
§0: u16
Trait Implementations§
source§impl PartialEq for StringId
impl PartialEq for StringId
source§impl PartialOrd for StringId
impl PartialOrd for StringId
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for StringId
impl Eq for StringId
impl StructuralPartialEq for StringId
Auto Trait Implementations§
impl Freeze for StringId
impl RefUnwindSafe for StringId
impl Send for StringId
impl Sync for StringId
impl Unpin for StringId
impl UnwindSafe for StringId
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