Struct embassy_stm32::can::filter::ListEntry32
source · pub struct ListEntry32(/* private fields */);
Expand description
A 32-bit filter list entry.
This can match data and remote frames using extended or standard IDs.
Implementations§
source§impl ListEntry32
impl ListEntry32
sourcepub fn data_frames_with_id(id: impl Into<Id>) -> Self
pub fn data_frames_with_id(id: impl Into<Id>) -> Self
Creates a filter list entry that accepts data frames with the given ID.
This entry will not accept remote frames with the same ID.
The filter will only accept either standard or extended frames, depending on id
.
sourcepub fn remote_frames_with_id(id: impl Into<Id>) -> Self
pub fn remote_frames_with_id(id: impl Into<Id>) -> Self
Creates a filter list entry that accepts remote frames with the given ID.
Trait Implementations§
source§impl Clone for ListEntry32
impl Clone for ListEntry32
source§fn clone(&self) -> ListEntry32
fn clone(&self) -> ListEntry32
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 ListEntry32
impl Debug for ListEntry32
source§impl Format for ListEntry32
impl Format for ListEntry32
source§impl PartialEq for ListEntry32
impl PartialEq for ListEntry32
impl Copy for ListEntry32
impl Eq for ListEntry32
impl StructuralPartialEq for ListEntry32
Auto Trait Implementations§
impl Freeze for ListEntry32
impl RefUnwindSafe for ListEntry32
impl Send for ListEntry32
impl Sync for ListEntry32
impl Unpin for ListEntry32
impl UnwindSafe for ListEntry32
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)