Fields
channel: u8
voltage: i32
Trait Implementations
sourceimpl Clone for VoltageEvent
impl Clone for VoltageEvent
sourcefn clone(&self) -> VoltageEvent
fn clone(&self) -> VoltageEvent
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for VoltageEvent
impl Debug for VoltageEvent
sourceimpl Default for VoltageEvent
impl Default for VoltageEvent
sourcefn default() -> VoltageEvent
fn default() -> VoltageEvent
Returns the “default value” for a type. Read more
sourceimpl FromByteSlice for VoltageEvent
impl FromByteSlice for VoltageEvent
sourcefn 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.
sourcefn from_le_bytes(bytes: &[u8]) -> VoltageEvent
fn from_le_bytes(bytes: &[u8]) -> VoltageEvent
Deserialize the implementing type from a byte slice.
sourceimpl Hash for VoltageEvent
impl Hash for VoltageEvent
sourceimpl PartialEq<VoltageEvent> for VoltageEvent
impl PartialEq<VoltageEvent> for VoltageEvent
sourcefn eq(&self, other: &VoltageEvent) -> bool
fn eq(&self, other: &VoltageEvent) -> bool
impl Copy for VoltageEvent
impl Eq for VoltageEvent
impl StructuralEq for VoltageEvent
impl StructuralPartialEq for VoltageEvent
Auto Trait Implementations
impl RefUnwindSafe for VoltageEvent
impl Send for VoltageEvent
impl Sync for VoltageEvent
impl Unpin for VoltageEvent
impl UnwindSafe for VoltageEvent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more