Struct ReadFlatSamples

pub struct ReadFlatSamples;

Specify to read only flat samples and no "deep data"

Implementations

impl ReadFlatSamples

fn largest_resolution_level(self) -> ReadLargestLevel<Self>

Specify to read only the highest resolution level, skipping all smaller variations.

fn all_resolution_levels(self) -> ReadAllLevels<Self>

Specify to read all contained resolution levels from the image, if any.

Trait Implementations

impl Clone for ReadFlatSamples

fn clone(&self) -> Self

impl Copy for ReadFlatSamples

impl Debug for ReadFlatSamples

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

impl Eq for ReadFlatSamples

impl PartialEq for ReadFlatSamples

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

impl ReadSamples for ReadFlatSamples

type Reader = FlatSamplesReader;
fn create_sample_reader(&self, header: &Header, channel: &ChannelDescription) -> Result<Self::Reader>

impl ReadSamplesLevel for ReadFlatSamples

type Reader = FlatSamplesReader;
fn create_samples_level_reader(&self, _header: &Header, channel: &ChannelDescription, level: Vec2<usize>, resolution: Vec2<usize>) -> Result<Self::Reader>

impl StructuralPartialEq for ReadFlatSamples

Auto Trait Implementations

impl Freeze for ReadFlatSamples

impl RefUnwindSafe for ReadFlatSamples

impl Send for ReadFlatSamples

impl Sync for ReadFlatSamples

impl Unpin for ReadFlatSamples

impl UnsafeUnpin for ReadFlatSamples

impl UnwindSafe for ReadFlatSamples

Blanket Implementations

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

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

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

fn type_id(&self) -> TypeId

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

fn borrow(&self) -> &T

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

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

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

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

impl<T> From<T> for ReadFlatSamples

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> Pointable for ReadFlatSamples

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 ReadFlatSamples where T: ?Sized,

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

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

impl<T, U> Into<U> for ReadFlatSamples 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 ReadFlatSamples where U: Into<T>,

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

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

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