Enum read_fonts::tables::cmap::PlatformId
source · #[repr(u16)]pub enum PlatformId {
Unicode = 0,
Macintosh = 1,
ISO = 2,
Windows = 3,
Custom = 4,
// some variants omitted
}
Variants§
Implementations§
Trait Implementations§
source§impl Clone for PlatformId
impl Clone for PlatformId
source§fn clone(&self) -> PlatformId
fn clone(&self) -> PlatformId
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 PlatformId
impl Debug for PlatformId
source§impl Default for PlatformId
impl Default for PlatformId
source§fn default() -> PlatformId
fn default() -> PlatformId
Returns the “default value” for a type. Read more
source§impl<'a> From<PlatformId> for FieldType<'a>
impl<'a> From<PlatformId> for FieldType<'a>
source§fn from(src: PlatformId) -> FieldType<'a>
fn from(src: PlatformId) -> FieldType<'a>
Converts to this type from the input type.
source§impl Hash for PlatformId
impl Hash for PlatformId
source§impl Ord for PlatformId
impl Ord for PlatformId
source§fn cmp(&self, other: &PlatformId) -> Ordering
fn cmp(&self, other: &PlatformId) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for PlatformId
impl PartialEq for PlatformId
source§impl PartialOrd for PlatformId
impl PartialOrd for PlatformId
source§impl Scalar for PlatformId
impl Scalar for PlatformId
impl Copy for PlatformId
impl Eq for PlatformId
impl StructuralPartialEq for PlatformId
Auto Trait Implementations§
impl Freeze for PlatformId
impl RefUnwindSafe for PlatformId
impl Send for PlatformId
impl Sync for PlatformId
impl Unpin for PlatformId
impl UnwindSafe for PlatformId
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
)source§impl<T> FixedSize for Twhere
T: Scalar,
impl<T> FixedSize for Twhere
T: Scalar,
source§const RAW_BYTE_LEN: usize = _
const RAW_BYTE_LEN: usize = _
The raw size of this type, in bytes. Read more