pub enum BuzzerCommand {
Buzz {
frequency_hz: usize,
duration_ms: usize,
},
}
Variants§
Trait Implementations§
Source§impl Clone for BuzzerCommand
impl Clone for BuzzerCommand
Source§fn clone(&self) -> BuzzerCommand
fn clone(&self) -> BuzzerCommand
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl PartialEq for BuzzerCommand
impl PartialEq for BuzzerCommand
impl Copy for BuzzerCommand
impl StructuralPartialEq for BuzzerCommand
Auto Trait Implementations§
impl Freeze for BuzzerCommand
impl RefUnwindSafe for BuzzerCommand
impl Send for BuzzerCommand
impl Sync for BuzzerCommand
impl Unpin for BuzzerCommand
impl UnwindSafe for BuzzerCommand
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