pub trait ReadSamplesLevel {
type Reader: SamplesReader;
// Required method
fn create_samples_level_reader(
&self,
header: &Header,
channel: &ChannelDescription,
level: Vec2<usize>,
resolution: Vec2<usize>,
) -> Result<Self::Reader>;
}
Expand description
A template that creates a SamplesReader
once for each resolution level.
Required Associated Types§
sourcetype Reader: SamplesReader
type Reader: SamplesReader
The type of the temporary level reader
Required Methods§
sourcefn create_samples_level_reader(
&self,
header: &Header,
channel: &ChannelDescription,
level: Vec2<usize>,
resolution: Vec2<usize>,
) -> Result<Self::Reader>
fn create_samples_level_reader( &self, header: &Header, channel: &ChannelDescription, level: Vec2<usize>, resolution: Vec2<usize>, ) -> Result<Self::Reader>
Create a single reader for a single resolution level