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) -> boolfn read_block(&mut self, header: &Header, block: UncompressedBlock) -> UnitResultfn 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,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for SpecificChannelsReader<PixelStorage, SetPixel, PixelReader, Pixel>
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for SpecificChannelsReader<PixelStorage, SetPixel, PixelReader, Pixel>
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for SpecificChannelsReader<PixelStorage, SetPixel, PixelReader, Pixel>
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for SpecificChannelsReader<PixelStorage, SetPixel, PixelReader, Pixel>
fn from(t: T) -> TReturns the argument unchanged.
impl<T> Pointable for SpecificChannelsReader<PixelStorage, SetPixel, PixelReader, Pixel>
const ALIGN: usize = _;type Init = T;unsafe fn init(init: <T as Pointable>::Init) -> usizeunsafe fn deref<'a>(ptr: usize) -> &'a Tunsafe fn deref_mut<'a>(ptr: usize) -> &'a mut Tunsafe fn drop(ptr: usize)
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,
type Owned = T;fn to_owned(&self) -> Tfn clone_into(&self, target: &mut T)
impl<T, U> Into<U> for SpecificChannelsReader<PixelStorage, SetPixel, PixelReader, Pixel>
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for SpecificChannelsReader<PixelStorage, SetPixel, PixelReader, Pixel>
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for SpecificChannelsReader<PixelStorage, SetPixel, PixelReader, Pixel>
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>