pub struct PlatformId(pub u16);
Tuple Fields
0: u16
Implementations
sourceimpl PlatformId
impl PlatformId
pub const UNICODE: PlatformId = PlatformId(0)
pub const MACINTOSH: PlatformId = PlatformId(1)
pub const WINDOWS: PlatformId = PlatformId(3)
pub const CUSTOM: PlatformId = PlatformId(4)
Trait Implementations
sourceimpl Clone for PlatformId
impl Clone for PlatformId
sourcefn clone(&self) -> PlatformId
fn clone(&self) -> PlatformId
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for PlatformId
impl Debug for PlatformId
sourceimpl PartialEq<PlatformId> for PlatformId
impl PartialEq<PlatformId> for PlatformId
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &PlatformId) -> bool
fn ne(&self, other: &PlatformId) -> bool
This method tests for !=
.
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more