pub trait Parameter<Object> {
// Required method
fn set_param(self, _: &mut Object);
}
Expand description
Configuration parameter trait
Required Methods§
fn set_param(self, _: &mut Object)
Implementors§
impl<R: Read> Parameter<Decoder<R>> for Transformations
impl<W: Write> Parameter<Encoder<W>> for BitDepth
impl<W: Write> Parameter<Encoder<W>> for ColorType
impl<W: Write> Parameter<Encoder<W>> for FilterType
impl<W: Write, C: Into<Compression>> Parameter<Encoder<W>> for C
Set compression param for a Compression
or any type that can transform
into a Compression
, notably deflate::Compression
and
deflate::CompressionOptions
which “just work”.