Struct ReadBuilder

pub struct ReadBuilder;

Utilizes the builder pattern to configure an image reader. This is the initial struct.

Implementations

impl ReadBuilder

const fn no_deep_data(self) -> ReadFlatSamples

Specify to handle only one sample per channel, disabling "deep data".

Trait Implementations

impl Clone for ReadBuilder

fn clone(&self) -> Self

impl Copy for ReadBuilder

impl Debug for ReadBuilder

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

impl Eq for ReadBuilder

impl PartialEq for ReadBuilder

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

impl StructuralPartialEq for ReadBuilder

Auto Trait Implementations

impl Freeze for ReadBuilder

impl RefUnwindSafe for ReadBuilder

impl Send for ReadBuilder

impl Sync for ReadBuilder

impl Unpin for ReadBuilder

impl UnsafeUnpin for ReadBuilder

impl UnwindSafe for ReadBuilder

Blanket Implementations

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

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

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

fn type_id(&self) -> TypeId

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

fn borrow(&self) -> &T

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

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

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

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

impl<T> From<T> for ReadBuilder

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> Pointable for ReadBuilder

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

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

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

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

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

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

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