Enum truetype::tables::names::PlatformID
source · pub enum PlatformID {
Unicode = 0,
Macintosh = 1,
Windows = 3,
}
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 for PlatformID
impl PartialEq 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 ==
.source§impl TryFrom<u16> for PlatformID
impl TryFrom<u16> for PlatformID
source§impl Write for PlatformID
impl Write for PlatformID
impl Copy for PlatformID
impl Eq for PlatformID
impl StructuralPartialEq for PlatformID
Auto Trait Implementations§
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