Enum truetype::naming_table::PlatformID
source · pub enum PlatformID {
Unicode,
Macintosh,
Windows,
}
Expand description
A platform identifier.
Variants§
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 From<PlatformID> for u16
impl From<PlatformID> for u16
source§fn from(value: PlatformID) -> u16
fn from(value: PlatformID) -> u16
Converts to this type from the input type.
source§impl Hash for PlatformID
impl Hash for PlatformID
source§impl PartialEq<PlatformID> for PlatformID
impl PartialEq<PlatformID> for PlatformID
source§fn eq(&self, other: &PlatformID) -> bool
fn eq(&self, other: &PlatformID) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.