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
List16([ListEntry16; 4])
List32([ListEntry32; 2])
Mask16([Mask16; 2])
Mask32(Mask32)
Trait Implementations
sourceimpl Clone for BankConfig
impl Clone for BankConfig
sourcefn clone(&self) -> BankConfig
fn clone(&self) -> BankConfig
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 BankConfig
impl Debug for BankConfig
sourceimpl From<[ListEntry16; 4]> for BankConfig
impl From<[ListEntry16; 4]> for BankConfig
sourcefn from(entries: [ListEntry16; 4]) -> Self
fn from(entries: [ListEntry16; 4]) -> Self
Converts to this type from the input type.
sourceimpl From<[ListEntry32; 2]> for BankConfig
impl From<[ListEntry32; 2]> for BankConfig
sourcefn from(entries: [ListEntry32; 2]) -> Self
fn from(entries: [ListEntry32; 2]) -> Self
Converts to this type from the input type.
sourceimpl From<Mask32> for BankConfig
impl From<Mask32> for BankConfig
impl Copy for BankConfig
Auto Trait Implementations
impl RefUnwindSafe for BankConfig
impl Send for BankConfig
impl Sync for BankConfig
impl Unpin for BankConfig
impl UnwindSafe for BankConfig
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