pub enum AlertState {
None = 0,
Locate = 1,
}Expand description
PROP_ALERT states.
Variants§
None = 0
ALERT_NONE — the nominal state.
Locate = 1
ALERT_LOCATE — make the device as conspicuous as its hardware
allows until the alert is cleared.
Implementations§
Trait Implementations§
Source§impl Clone for AlertState
impl Clone for AlertState
Source§fn clone(&self) -> AlertState
fn clone(&self) -> AlertState
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AlertState
impl Debug for AlertState
Source§impl Default for AlertState
impl Default for AlertState
Source§fn default() -> AlertState
fn default() -> AlertState
Returns the “default value” for a type. Read more
Source§impl PartialEq for AlertState
impl PartialEq for AlertState
impl Copy for AlertState
impl Eq for AlertState
impl StructuralPartialEq for AlertState
Auto Trait Implementations§
impl Freeze for AlertState
impl RefUnwindSafe for AlertState
impl Send for AlertState
impl Sync for AlertState
impl Unpin for AlertState
impl UnwindSafe for AlertState
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)