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