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
impl Copy for BankConfig
Source§impl Debug for BankConfig
impl Debug for BankConfig
Source§impl Format for BankConfig
impl Format for BankConfig
Source§impl From<Mask32> for BankConfig
impl From<Mask32> 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.
Auto Trait Implementations§
impl Forget for BankConfig
impl Freeze for BankConfig
impl Move for BankConfig
impl RefUnwindSafe for BankConfig
impl Send for BankConfig
impl Sync for BankConfig
impl Unpin for BankConfig
impl UnsafeUnpin for BankConfig
impl UnwindSafe for BankConfig
Blanket Implementations§
impl<T, I> Binding<I, NoHandler<I>> for T
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