Trait ReadLayers
pub trait ReadLayers<'s>
A template that creates a LayerReader for each layer in the file.
Associated Types
type Layers;The type of the resulting Layers
type Reader: LayersReader<Layers = Self::Layers>;The type of the temporary layer reader
Required Methods
fn create_layers_reader(&'s self, headers: &[Header]) -> Result<Self::Reader>Create a single reader for a single layer
Provided Methods
fn all_attributes(self) -> ReadImage<fn(f64), Self> where Self: Sized,Specify that all attributes should be read from an image. Use
from_file(path)on the return value of this method to actually decode an image.
Implementors
impl<'s, C> ReadLayers<'s> for ReadAllLayers<C> where C: ReadChannels<'s>,impl<'s, C> ReadLayers<'s> for ReadFirstValidLayer<C> where C: ReadChannels<'s>,