pub struct PlatformId(pub u16);
Tuple Fields
0: u16
Implementations
sourceimpl PlatformId
impl PlatformId
pub const UNICODE: PlatformId = _
pub const MACINTOSH: PlatformId = _
pub const WINDOWS: PlatformId = _
pub const CUSTOM: PlatformId = _
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 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl 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
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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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