Struct ImageWithAttributesReader

pub struct ImageWithAttributesReader<L> { /* private fields */ }

Processes blocks from a file and collects them into a complete Image.

Implementations

impl<L> ImageWithAttributesReader<L> where L: LayersReader,

fn new(headers: &[Header], layers_reader: L) -> Result<Self>

A new image reader with image attributes.

Trait Implementations

impl<L: Clone> Clone for ImageWithAttributesReader<L>

fn clone(&self) -> Self

impl<L: Debug> Debug for ImageWithAttributesReader<L>

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

impl<L: PartialEq> PartialEq for ImageWithAttributesReader<L>

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

impl<L: PartialEq> StructuralPartialEq for ImageWithAttributesReader<L>

Auto Trait Implementations

impl<L> Freeze for ImageWithAttributesReader<L> where L: Freeze,

impl<L> RefUnwindSafe for ImageWithAttributesReader<L> where L: RefUnwindSafe,

impl<L> Send for ImageWithAttributesReader<L> where L: Send,

impl<L> Sync for ImageWithAttributesReader<L> where L: Sync,

impl<L> Unpin for ImageWithAttributesReader<L> where L: Unpin,

impl<L> UnsafeUnpin for ImageWithAttributesReader<L> where L: UnsafeUnpin,

impl<L> UnwindSafe for ImageWithAttributesReader<L> where L: UnwindSafe,

Blanket Implementations

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

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

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

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for ImageWithAttributesReader<L> where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for ImageWithAttributesReader<L> where T: ?Sized,

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

impl<T> CloneToUninit for ImageWithAttributesReader<L> where T: Clone,

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

impl<T> From<T> for ImageWithAttributesReader<L>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> Pointable for ImageWithAttributesReader<L>

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

impl<T> ToOwned for ImageWithAttributesReader<L> where T: Clone,

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

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

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

impl<T, U> TryInto<U> for ImageWithAttributesReader<L> where U: TryFrom<T>,

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