Trait jpeg_encoder::JfifWrite
source · pub trait JfifWrite {
// Required method
fn write_all(&mut self, buf: &[u8]) -> Result<(), EncodingError>;
}
Expand description
A no_std alternative for std::io::Write
An implementation of a subset of std::io::Write
necessary to use the encoder without std
.
This trait is implemented for std::io::Write
if the std
feature is enabled.