pub struct EdgeInterrupt {
pub count: u32,
pub value: bool,
}
Fields§
§count: u32
§value: bool
Trait Implementations§
Source§impl Clone for EdgeInterrupt
impl Clone for EdgeInterrupt
Source§fn clone(&self) -> EdgeInterrupt
fn clone(&self) -> EdgeInterrupt
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 EdgeInterrupt
impl Debug for EdgeInterrupt
Source§impl Default for EdgeInterrupt
impl Default for EdgeInterrupt
Source§fn default() -> EdgeInterrupt
fn default() -> EdgeInterrupt
Returns the “default value” for a type. Read more
Source§impl FromByteSlice for EdgeInterrupt
impl FromByteSlice for EdgeInterrupt
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]) -> EdgeInterrupt
fn from_le_byte_slice(bytes: &[u8]) -> EdgeInterrupt
Deserialize the implementing type from a byte slice.
Source§impl Hash for EdgeInterrupt
impl Hash for EdgeInterrupt
Source§impl PartialEq for EdgeInterrupt
impl PartialEq for EdgeInterrupt
impl Copy for EdgeInterrupt
impl Eq for EdgeInterrupt
impl StructuralPartialEq for EdgeInterrupt
Auto Trait Implementations§
impl Freeze for EdgeInterrupt
impl RefUnwindSafe for EdgeInterrupt
impl Send for EdgeInterrupt
impl Sync for EdgeInterrupt
impl Unpin for EdgeInterrupt
impl UnwindSafe for EdgeInterrupt
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