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