Struct exr::block::writer::SortedBlocksWriter [−][src]
#[must_use]pub struct SortedBlocksWriter<'w, W> { /* fields omitted */ }
Expand description
Write blocks that appear in any order and reorder them before writing.
Implementations
impl<'w, W> SortedBlocksWriter<'w, W> where
W: ChunksWriter,
[src]
impl<'w, W> SortedBlocksWriter<'w, W> where
W: ChunksWriter,
[src]pub fn new(
meta_data: &MetaData,
chunk_writer: &'w mut W
) -> SortedBlocksWriter<'w, W>
[src]
pub fn new(
meta_data: &MetaData,
chunk_writer: &'w mut W
) -> SortedBlocksWriter<'w, W>
[src]New sorting writer. Returns None
if sorting is not required.
pub fn write_or_stash_chunk(
&mut self,
chunk_index_in_file: usize,
chunk_y_index: usize,
chunk: Chunk
) -> UnitResult
[src]
pub fn write_or_stash_chunk(
&mut self,
chunk_index_in_file: usize,
chunk_y_index: usize,
chunk: Chunk
) -> UnitResult
[src]Write the chunk or stash it. In the closure, write all chunks that can be written now.
pub fn inner_chunks_writer(&self) -> &W
[src]
pub fn inner_chunks_writer(&self) -> &W
[src]Where the chunks will be written to.
Trait Implementations
Auto Trait Implementations
impl<'w, W> RefUnwindSafe for SortedBlocksWriter<'w, W> where
W: RefUnwindSafe,
W: RefUnwindSafe,
impl<'w, W> Send for SortedBlocksWriter<'w, W> where
W: Send,
W: Send,
impl<'w, W> Sync for SortedBlocksWriter<'w, W> where
W: Sync,
W: Sync,