Struct FlatSamplesReader

pub struct FlatSamplesReader { /* private fields */ }

Processes pixel blocks from a file and accumulates them into a grid of samples, for example "Red" or "Alpha".

Trait Implementations

impl Clone for FlatSamplesReader

fn clone(&self) -> Self

impl Debug for FlatSamplesReader

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

impl PartialEq for FlatSamplesReader

fn eq(&self, other: &Self) -> bool

impl SamplesReader for FlatSamplesReader

type Samples = FlatSamples;
fn filter_block(&self, tile: TileCoordinates) -> bool
fn read_line(&mut self, line: LineRef<'_>) -> UnitResult
fn into_samples(self) -> FlatSamples

impl StructuralPartialEq for FlatSamplesReader

Auto Trait Implementations

impl Freeze for FlatSamplesReader

impl RefUnwindSafe for FlatSamplesReader

impl Send for FlatSamplesReader

impl Sync for FlatSamplesReader

impl Unpin for FlatSamplesReader

impl UnsafeUnpin for FlatSamplesReader

impl UnwindSafe for FlatSamplesReader

Blanket Implementations

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for FlatSamplesReader where ST: ?Sized, DT: ?Sized,

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for FlatSamplesReader where ST: ?Sized, DT: ?Sized,

impl<T> Any for FlatSamplesReader where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for FlatSamplesReader where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for FlatSamplesReader where T: ?Sized,

fn borrow_mut(&mut self) -> &mut T

impl<T> CloneToUninit for FlatSamplesReader where T: Clone,

unsafe fn clone_to_uninit(&self, dest: *mut u8)

impl<T> From<T> for FlatSamplesReader

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> Pointable for FlatSamplesReader

const ALIGN: usize = _;
type Init = T;
unsafe fn init(init: <T as Pointable>::Init) -> usize
unsafe fn deref<'a>(ptr: usize) -> &'a T
unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
unsafe fn drop(ptr: usize)

impl<T> Read<Exclusive, BecauseExclusive> for FlatSamplesReader where T: ?Sized,

impl<T> ToOwned for FlatSamplesReader where T: Clone,

type Owned = T;
fn to_owned(&self) -> T
fn clone_into(&self, target: &mut T)

impl<T, U> Into<U> for FlatSamplesReader where U: From<T>,

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom<U> for FlatSamplesReader where U: Into<T>,

type Error = never;
fn try_from(value: U) -> Result<T, never>

impl<T, U> TryInto<U> for FlatSamplesReader where U: TryFrom<T>,

type Error = <U as TryFrom<T>>::Error;
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>