pub enum BankConfig {
List16([ListEntry16; 4]),
List32([ListEntry32; 2]),
Mask16([Mask16; 2]),
Mask32(Mask32),
}
Expand description
The configuration of a filter bank.
Variants§
List16([ListEntry16; 4])
Specify up to 4 exact standard CAN ID’s.
List32([ListEntry32; 2])
Specify up to 2 exact standard or extended CAN ID’s.
Mask16([Mask16; 2])
Specify up to 2 standard ID’s with masks.
Mask32(Mask32)
Specify a single extended ID with mask.
Trait Implementations§
Source§impl Clone for BankConfig
impl Clone for BankConfig
Source§fn clone(&self) -> BankConfig
fn clone(&self) -> BankConfig
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 BankConfig
impl Debug for BankConfig
Source§impl Format for BankConfig
impl Format for BankConfig
Source§impl From<[ListEntry16; 4]> for BankConfig
impl From<[ListEntry16; 4]> for BankConfig
Source§fn from(entries: [ListEntry16; 4]) -> Self
fn from(entries: [ListEntry16; 4]) -> Self
Converts to this type from the input type.
Source§impl From<[ListEntry32; 2]> for BankConfig
impl From<[ListEntry32; 2]> for BankConfig
Source§fn from(entries: [ListEntry32; 2]) -> Self
fn from(entries: [ListEntry32; 2]) -> Self
Converts to this type from the input type.
Source§impl From<Mask32> for BankConfig
impl From<Mask32> for BankConfig
impl Copy for BankConfig
Auto Trait Implementations§
impl Freeze for BankConfig
impl RefUnwindSafe for BankConfig
impl Send for BankConfig
impl Sync for BankConfig
impl Unpin for BankConfig
impl UnwindSafe for BankConfig
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