[][src]Struct bxcan::filter::Mask16

pub struct Mask16 { /* fields omitted */ }

A 16-bit identifier mask.

Implementations

impl Mask16[src]

pub fn accept_all() -> Self[src]

Creates a 16-bit identifier mask that accepts all frames.

pub fn frames_with_id(id: StandardId) -> Self[src]

Creates a 16-bit identifier mask that accepts all frames with the given standard ID.

Both data and remote frames with id will be accepted.

Trait Implementations

impl Clone for Mask16[src]

impl Copy for Mask16[src]

impl Debug for Mask16[src]

impl Format for Mask16[src]

Auto Trait Implementations

impl Send for Mask16

impl Sync for Mask16

impl Unpin for Mask16

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.