#[repr(u32)]pub enum AccessLevel {
Shared = 0,
ExclusiveLightingControl = 1,
ExclusiveKeyEventsListening = 2,
ExclusiveLightingControlAndKeyEventsListening = 3,
}Expand description
SDK access level for a device.
Variants§
ExclusiveLightingControl = 1
ExclusiveKeyEventsListening = 2
ExclusiveLightingControlAndKeyEventsListening = 3
Trait Implementations§
Source§impl Clone for AccessLevel
impl Clone for AccessLevel
Source§fn clone(&self) -> AccessLevel
fn clone(&self) -> AccessLevel
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 moreimpl Copy for AccessLevel
Source§impl Debug for AccessLevel
impl Debug for AccessLevel
impl Eq for AccessLevel
Source§impl PartialEq for AccessLevel
impl PartialEq for AccessLevel
Source§fn eq(&self, other: &AccessLevel) -> bool
fn eq(&self, other: &AccessLevel) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AccessLevel
Auto Trait Implementations§
impl Freeze for AccessLevel
impl RefUnwindSafe for AccessLevel
impl Send for AccessLevel
impl Sync for AccessLevel
impl Unpin for AccessLevel
impl UnsafeUnpin for AccessLevel
impl UnwindSafe for AccessLevel
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