pub struct MonoflopDoneEvent {
pub relay: u8,
pub state: bool,
}
Fields§
§relay: u8
§state: bool
Trait Implementations§
source§impl Clone for MonoflopDoneEvent
impl Clone for MonoflopDoneEvent
source§fn clone(&self) -> MonoflopDoneEvent
fn clone(&self) -> MonoflopDoneEvent
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 MonoflopDoneEvent
impl Debug for MonoflopDoneEvent
source§impl Default for MonoflopDoneEvent
impl Default for MonoflopDoneEvent
source§fn default() -> MonoflopDoneEvent
fn default() -> MonoflopDoneEvent
Returns the “default value” for a type. Read more
source§impl FromByteSlice for MonoflopDoneEvent
impl FromByteSlice for MonoflopDoneEvent
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]) -> MonoflopDoneEvent
fn from_le_byte_slice(bytes: &[u8]) -> MonoflopDoneEvent
Deserialize the implementing type from a byte slice.
source§impl Hash for MonoflopDoneEvent
impl Hash for MonoflopDoneEvent
source§impl PartialEq for MonoflopDoneEvent
impl PartialEq for MonoflopDoneEvent
source§fn eq(&self, other: &MonoflopDoneEvent) -> bool
fn eq(&self, other: &MonoflopDoneEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for MonoflopDoneEvent
impl Eq for MonoflopDoneEvent
impl StructuralPartialEq for MonoflopDoneEvent
Auto Trait Implementations§
impl RefUnwindSafe for MonoflopDoneEvent
impl Send for MonoflopDoneEvent
impl Sync for MonoflopDoneEvent
impl Unpin for MonoflopDoneEvent
impl UnwindSafe for MonoflopDoneEvent
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