Struct bxcan::filter::ListEntry32
source · [−]pub struct ListEntry32(_);
Expand description
A 32-bit filter list entry.
This can match data and remote frames using extended or standard IDs.
Implementations
sourceimpl 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
sourceimpl Clone for ListEntry32
impl Clone for ListEntry32
sourcefn clone(&self) -> ListEntry32
fn clone(&self) -> ListEntry32
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ListEntry32
impl Debug for ListEntry32
sourceimpl PartialEq<ListEntry32> for ListEntry32
impl PartialEq<ListEntry32> for ListEntry32
sourcefn eq(&self, other: &ListEntry32) -> bool
fn eq(&self, other: &ListEntry32) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ListEntry32) -> bool
fn ne(&self, other: &ListEntry32) -> bool
This method tests for !=
.
impl Copy for ListEntry32
impl Eq for ListEntry32
impl StructuralEq for ListEntry32
impl StructuralPartialEq for ListEntry32
Auto Trait Implementations
impl RefUnwindSafe for ListEntry32
impl Send for ListEntry32
impl Sync for ListEntry32
impl Unpin for ListEntry32
impl UnwindSafe for ListEntry32
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more