pub trait BorderAtariObsFilter<O: Obs> {
type Config: Clone + Default;
fn build(config: &Self::Config) -> Result<Self>
where
Self: Sized;
fn filt(&mut self, obs: BorderAtariObs) -> (O, Record);
fn reset(&mut self, obs: BorderAtariObs) -> O { ... }
}Expand description
Converts BorderAtariObs to O with an arbitrary processing.
Associated Types
Required methods
Constructs the filter given a configuration.
Provided methods
fn reset(&mut self, obs: BorderAtariObs) -> O
fn reset(&mut self, obs: BorderAtariObs) -> O
Resets the filter.