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