pub enum BeepOnTime {
Show 16 variants
_86ms,
_430ms,
_780ms,
_1200ms,
_1500ms,
_1800ms,
_2200ms,
_2500ms,
_2800ms,
_3200ms,
_3500ms,
_3800ms,
_4200ms,
_4500ms,
_4800ms,
_5200ms,
}Expand description
Time the beep is on
Variants§
_86ms
86ms
_430ms
430ms
_780ms
780ms
_1200ms
1200ms
_1500ms
1500ms
_1800ms
1800ms
_2200ms
2200ms
_2500ms
2500ms
_2800ms
2800ms
_3200ms
3200ms
_3500ms
3500ms
_3800ms
3800ms
_4200ms
4200ms
_4500ms
4500ms
_4800ms
4800ms
_5200ms
5200ms
Trait Implementations§
Source§impl Clone for BeepOnTime
impl Clone for BeepOnTime
Source§fn clone(&self) -> BeepOnTime
fn clone(&self) -> BeepOnTime
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 BeepOnTime
Source§impl Debug for BeepOnTime
impl Debug for BeepOnTime
Source§impl From<BeepOnTime> for u8
impl From<BeepOnTime> for u8
Source§fn from(time: BeepOnTime) -> Self
fn from(time: BeepOnTime) -> Self
Converts to this type from the input type.
Source§impl PartialEq for BeepOnTime
impl PartialEq for BeepOnTime
Source§fn eq(&self, other: &BeepOnTime) -> bool
fn eq(&self, other: &BeepOnTime) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BeepOnTime
Auto Trait Implementations§
impl Freeze for BeepOnTime
impl RefUnwindSafe for BeepOnTime
impl Send for BeepOnTime
impl Sync for BeepOnTime
impl Unpin for BeepOnTime
impl UnsafeUnpin for BeepOnTime
impl UnwindSafe for BeepOnTime
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