Struct embassy_stm32::can::filter::ListEntry16
source · pub struct ListEntry16(/* private fields */);
Expand description
A 16-bit filter list entry.
This can match data and remote frames using standard IDs.
Implementations§
source§impl ListEntry16
impl ListEntry16
sourcepub fn data_frames_with_id(id: StandardId) -> Self
pub fn data_frames_with_id(id: StandardId) -> Self
Creates a filter list entry that accepts data frames with the given standard ID.
This entry will not accept remote frames with the same ID.
sourcepub fn remote_frames_with_id(id: StandardId) -> Self
pub fn remote_frames_with_id(id: StandardId) -> Self
Creates a filter list entry that accepts remote frames with the given standard ID.
Trait Implementations§
source§impl Clone for ListEntry16
impl Clone for ListEntry16
source§fn clone(&self) -> ListEntry16
fn clone(&self) -> ListEntry16
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 ListEntry16
impl Debug for ListEntry16
source§impl Format for ListEntry16
impl Format for ListEntry16
source§impl PartialEq for ListEntry16
impl PartialEq for ListEntry16
source§fn eq(&self, other: &ListEntry16) -> bool
fn eq(&self, other: &ListEntry16) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ListEntry16
impl Eq for ListEntry16
impl StructuralPartialEq for ListEntry16
Auto Trait Implementations§
impl Freeze for ListEntry16
impl RefUnwindSafe for ListEntry16
impl Send for ListEntry16
impl Sync for ListEntry16
impl Unpin for ListEntry16
impl UnwindSafe for ListEntry16
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