Struct SpecificChannelsReader

pub struct SpecificChannelsReader<PixelStorage, SetPixel, PixelReader, Pixel> { /* private fields */ }

The reader that holds the temporary data that is required to read some specified channels.

Trait Implementations

impl<PixelStorage, SetPixel, PxReader, Pixel> ChannelsReader for SpecificChannelsReader<PixelStorage, SetPixel, PxReader, Pixel> where PxReader: RecursivePixelReader, PxReader::RecursivePixel: IntoTuple<Pixel>, PxReader::RecursiveChannelDescriptions: IntoNonRecursive, SetPixel: Fn(&mut PixelStorage, Vec2<usize>, Pixel),

type Channels = SpecificChannels<PixelStorage, <<PxReader as RecursivePixelReader>::RecursiveChannelDescriptions as IntoNonRecursive>::NonRecursive>;
fn filter_block(&self, tile: TileCoordinates) -> bool
fn read_block(&mut self, header: &Header, block: UncompressedBlock) -> UnitResult
fn into_channels(self) -> Self::Channels

impl<PixelStorage: Clone, SetPixel: Clone, PixelReader: Clone, Pixel: Clone> Clone for SpecificChannelsReader<PixelStorage, SetPixel, PixelReader, Pixel>

fn clone(&self) -> Self

impl<PixelStorage: Copy, SetPixel: Copy, PixelReader: Copy, Pixel: Copy> Copy for SpecificChannelsReader<PixelStorage, SetPixel, PixelReader, Pixel>

impl<PixelStorage: Debug, SetPixel: Debug, PixelReader: Debug, Pixel: Debug> Debug for SpecificChannelsReader<PixelStorage, SetPixel, PixelReader, Pixel>

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Auto Trait Implementations

impl<PixelStorage, SetPixel, PixelReader, Pixel> Freeze for SpecificChannelsReader<PixelStorage, SetPixel, PixelReader, Pixel> where SetPixel: Freeze, PixelStorage: Freeze, PixelReader: Freeze, PhantomData<Pixel>: Freeze,

impl<PixelStorage, SetPixel, PixelReader, Pixel> RefUnwindSafe for SpecificChannelsReader<PixelStorage, SetPixel, PixelReader, Pixel> where SetPixel: RefUnwindSafe, PixelStorage: RefUnwindSafe, PixelReader: RefUnwindSafe, PhantomData<Pixel>: RefUnwindSafe,

impl<PixelStorage, SetPixel, PixelReader, Pixel> Send for SpecificChannelsReader<PixelStorage, SetPixel, PixelReader, Pixel> where SetPixel: Send, PixelStorage: Send, PixelReader: Send, PhantomData<Pixel>: Send,

impl<PixelStorage, SetPixel, PixelReader, Pixel> Sync for SpecificChannelsReader<PixelStorage, SetPixel, PixelReader, Pixel> where SetPixel: Sync, PixelStorage: Sync, PixelReader: Sync, PhantomData<Pixel>: Sync,

impl<PixelStorage, SetPixel, PixelReader, Pixel> Unpin for SpecificChannelsReader<PixelStorage, SetPixel, PixelReader, Pixel> where SetPixel: Unpin, PixelStorage: Unpin, PixelReader: Unpin, PhantomData<Pixel>: Unpin,

impl<PixelStorage, SetPixel, PixelReader, Pixel> UnsafeUnpin for SpecificChannelsReader<PixelStorage, SetPixel, PixelReader, Pixel> where SetPixel: UnsafeUnpin, PixelStorage: UnsafeUnpin, PixelReader: UnsafeUnpin, PhantomData<Pixel>: UnsafeUnpin,

impl<PixelStorage, SetPixel, PixelReader, Pixel> UnwindSafe for SpecificChannelsReader<PixelStorage, SetPixel, PixelReader, Pixel> where SetPixel: UnwindSafe, PixelStorage: UnwindSafe, PixelReader: UnwindSafe, PhantomData<Pixel>: UnwindSafe,

Blanket Implementations

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for SpecificChannelsReader<PixelStorage, SetPixel, PixelReader, Pixel> where ST: ?Sized, DT: ?Sized,

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for SpecificChannelsReader<PixelStorage, SetPixel, PixelReader, Pixel> where ST: ?Sized, DT: ?Sized,

impl<T> Any for SpecificChannelsReader<PixelStorage, SetPixel, PixelReader, Pixel> where T: 'static + ?Sized,

impl<T> Borrow<T> for SpecificChannelsReader<PixelStorage, SetPixel, PixelReader, Pixel> where T: ?Sized,

impl<T> BorrowMut<T> for SpecificChannelsReader<PixelStorage, SetPixel, PixelReader, Pixel> where T: ?Sized,

impl<T> CloneToUninit for SpecificChannelsReader<PixelStorage, SetPixel, PixelReader, Pixel> where T: Clone,

impl<T> From<T> for SpecificChannelsReader<PixelStorage, SetPixel, PixelReader, Pixel>

impl<T> Pointable for SpecificChannelsReader<PixelStorage, SetPixel, PixelReader, Pixel>

impl<T> Read<Exclusive, BecauseExclusive> for SpecificChannelsReader<PixelStorage, SetPixel, PixelReader, Pixel> where T: ?Sized,

impl<T> ToOwned for SpecificChannelsReader<PixelStorage, SetPixel, PixelReader, Pixel> where T: Clone,

impl<T, U> Into<U> for SpecificChannelsReader<PixelStorage, SetPixel, PixelReader, Pixel> where U: From<T>,

impl<T, U> TryFrom<U> for SpecificChannelsReader<PixelStorage, SetPixel, PixelReader, Pixel> where U: Into<T>,

impl<T, U> TryInto<U> for SpecificChannelsReader<PixelStorage, SetPixel, PixelReader, Pixel> where U: TryFrom<T>,