Trait Filter

Source
pub trait Filter {
    const FILTER_TYPE: FilterType;

    // Required method
    fn to_registers(&self) -> [u8; 8];

    // Provided method
    fn filter_type(&self) -> FilterType { ... }
}

Required Associated Constants§

Source

const FILTER_TYPE: FilterType

The type of the filter.

Required Methods§

Source

fn to_registers(&self) -> [u8; 8]

Get the register level representation of the filter.

Provided Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§