Struct bxcan::filter::ListEntry16 [−][src]
pub struct ListEntry16(_);
Expand description
A 16-bit filter list entry.
This can match data and remote frames using standard IDs.
Implementations
impl ListEntry16
[src]
impl ListEntry16
[src]pub fn data_frames_with_id(id: StandardId) -> Self
[src]
pub fn data_frames_with_id(id: StandardId) -> Self
[src]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.
pub fn remote_frames_with_id(id: StandardId) -> Self
[src]
pub fn remote_frames_with_id(id: StandardId) -> Self
[src]Creates a filter list entry that accepts remote frames with the given standard ID.
Trait Implementations
impl Clone for ListEntry16
[src]
impl Clone for ListEntry16
[src]fn clone(&self) -> ListEntry16
[src]
fn clone(&self) -> ListEntry16
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for ListEntry16
[src]
impl Debug for ListEntry16
[src]impl Format for ListEntry16
[src]
impl Format for ListEntry16
[src]impl PartialEq<ListEntry16> for ListEntry16
[src]
impl PartialEq<ListEntry16> for ListEntry16
[src]fn eq(&self, other: &ListEntry16) -> bool
[src]
fn eq(&self, other: &ListEntry16) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &ListEntry16) -> bool
[src]
fn ne(&self, other: &ListEntry16) -> bool
[src]This method tests for !=
.