pub trait Layer {
// Required methods
fn kind(&self) -> LayerKind;
fn process(&self, input: LayerInput) -> LayerOutput;
}Expand description
A single processing stage in the compression pipeline.
Required Methods§
fn kind(&self) -> LayerKind
fn process(&self, input: LayerInput) -> LayerOutput
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".