Enum bxcan::filter::BankConfig
source · pub enum BankConfig {
List16([ListEntry16; 4]),
List32([ListEntry32; 2]),
Mask16([Mask16; 2]),
Mask32(Mask32),
}
Expand description
The configuration of a filter bank.
Variants§
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 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