#[repr(u16)]pub enum PlatformType {
Unicode = 0,
Macintosh = 1,
Iso = 2,
Microsoft = 3,
Invalid = 65_535,
}Expand description
The platform types supported by some tables
Variants§
Unicode = 0
Unicode platform
Macintosh = 1
Macintosh platform
Iso = 2
ISO platform
Microsoft = 3
Microsoft platform
Invalid = 65_535
Invalid platform
Trait Implementations§
Source§impl Clone for PlatformType
impl Clone for PlatformType
Source§fn clone(&self) -> PlatformType
fn clone(&self) -> PlatformType
Returns a duplicate 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 PlatformType
impl Debug for PlatformType
Source§impl Default for PlatformType
impl Default for PlatformType
Source§fn default() -> PlatformType
fn default() -> PlatformType
Returns the “default value” for a type. Read more
Source§impl From<u16> for PlatformType
impl From<u16> for PlatformType
Source§fn from(value: u16) -> PlatformType
fn from(value: u16) -> PlatformType
Converts to this type from the input type.
impl Copy for PlatformType
Auto Trait Implementations§
impl Freeze for PlatformType
impl RefUnwindSafe for PlatformType
impl Send for PlatformType
impl Sync for PlatformType
impl Unpin for PlatformType
impl UnwindSafe for PlatformType
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