Enum ttf_parser::PlatformId
source · pub enum PlatformId {
Unicode,
Macintosh,
Iso,
Windows,
Custom,
}
Expand description
A platform ID.
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 FromData for PlatformId
impl FromData 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 ==
.impl Copy for PlatformId
impl Eq for PlatformId
impl StructuralEq 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