pub struct ControlEvent {
pub control: u8,
pub value: u8,
}Expand description
Parameters for a control change
Fields§
§control: u8Control number
value: u8Value of the control
Trait Implementations§
Source§impl Debug for ControlEvent
impl Debug for ControlEvent
impl Eq for ControlEvent
Source§impl PartialEq for ControlEvent
impl PartialEq for ControlEvent
Source§fn eq(&self, other: &ControlEvent) -> bool
fn eq(&self, other: &ControlEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ControlEvent
Auto Trait Implementations§
impl Freeze for ControlEvent
impl RefUnwindSafe for ControlEvent
impl Send for ControlEvent
impl Sync for ControlEvent
impl Unpin for ControlEvent
impl UnsafeUnpin for ControlEvent
impl UnwindSafe for ControlEvent
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