#[non_exhaustive]#[repr(u16)]pub enum UserLocalId {
LocalMin = 0,
LocalMax = 15,
StationaryMin = 16,
StationaryMax = 255,
PortableMin = 256,
PortableMax = 65_534,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
LocalMin = 0
LocalMax = 15
StationaryMin = 16
StationaryMax = 255
PortableMin = 256
PortableMax = 65_534
Implementations§
Source§impl UserLocalId
impl UserLocalId
Trait Implementations§
Source§impl Clone for UserLocalId
impl Clone for UserLocalId
Source§fn clone(&self) -> UserLocalId
fn clone(&self) -> UserLocalId
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 UserLocalId
impl Debug for UserLocalId
Source§impl Hash for UserLocalId
impl Hash for UserLocalId
Source§impl PartialEq for UserLocalId
impl PartialEq for UserLocalId
Source§fn eq(&self, other: &UserLocalId) -> bool
fn eq(&self, other: &UserLocalId) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for UserLocalId
impl Eq for UserLocalId
impl StructuralPartialEq for UserLocalId
Auto Trait Implementations§
impl Freeze for UserLocalId
impl RefUnwindSafe for UserLocalId
impl Send for UserLocalId
impl Sync for UserLocalId
impl Unpin for UserLocalId
impl UnsafeUnpin for UserLocalId
impl UnwindSafe for UserLocalId
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