pub struct InputValueEvent {
pub channel: u8,
pub changed: bool,
pub value: bool,
}
Fields§
§channel: u8
§changed: bool
§value: bool
Trait Implementations§
Source§impl Clone for InputValueEvent
impl Clone for InputValueEvent
Source§fn clone(&self) -> InputValueEvent
fn clone(&self) -> InputValueEvent
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 Debug for InputValueEvent
impl Debug for InputValueEvent
Source§impl Default for InputValueEvent
impl Default for InputValueEvent
Source§fn default() -> InputValueEvent
fn default() -> InputValueEvent
Returns the “default value” for a type. Read more
Source§impl FromByteSlice for InputValueEvent
impl FromByteSlice for InputValueEvent
Source§fn bytes_expected() -> usize
fn bytes_expected() -> usize
Returns how many bytes are expected to deserialize a instance of the implementing type. Currently this method is only used for strings.
Source§fn from_le_byte_slice(bytes: &[u8]) -> InputValueEvent
fn from_le_byte_slice(bytes: &[u8]) -> InputValueEvent
Deserialize the implementing type from a byte slice.
Source§impl Hash for InputValueEvent
impl Hash for InputValueEvent
Source§impl PartialEq for InputValueEvent
impl PartialEq for InputValueEvent
impl Copy for InputValueEvent
impl Eq for InputValueEvent
impl StructuralPartialEq for InputValueEvent
Auto Trait Implementations§
impl Freeze for InputValueEvent
impl RefUnwindSafe for InputValueEvent
impl Send for InputValueEvent
impl Sync for InputValueEvent
impl Unpin for InputValueEvent
impl UnwindSafe for InputValueEvent
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