[][src]Struct ilda_idtf::SubsectionReader

pub struct SubsectionReader<R, T> where
    R: Read,
    T: LayoutBuffer
{ /* fields omitted */ }

Reads len consecutive subsections of type T.

Methods

impl<R, T> SubsectionReader<R, T> where
    R: Read,
    T: LayoutBuffer
[src]

pub fn len(&self) -> u16[src]

The number of remaining subsections expected.

pub fn read_next(&mut self) -> Result<Option<&T>>[src]

Read the next subsection.

Trait Implementations

impl<R, T> Drop for SubsectionReader<R, T> where
    R: Read,
    T: LayoutBuffer
[src]

impl<R> From<SubsectionReader<R, ColorPalette>> for SubsectionReaderKind<R> where
    R: Read
[src]

impl<R> From<SubsectionReader<R, Coords2dIndexedColor>> for SubsectionReaderKind<R> where
    R: Read
[src]

impl<R> From<SubsectionReader<R, Coords2dTrueColor>> for SubsectionReaderKind<R> where
    R: Read
[src]

impl<R> From<SubsectionReader<R, Coords3dIndexedColor>> for SubsectionReaderKind<R> where
    R: Read
[src]

impl<R> From<SubsectionReader<R, Coords3dTrueColor>> for SubsectionReaderKind<R> where
    R: Read
[src]

Auto Trait Implementations

impl<R, T> RefUnwindSafe for SubsectionReader<R, T> where
    R: RefUnwindSafe,
    T: RefUnwindSafe,
    <T as LayoutBuffer>::Buffer: RefUnwindSafe

impl<R, T> Send for SubsectionReader<R, T> where
    R: Send,
    T: Send,
    <T as LayoutBuffer>::Buffer: Send

impl<R, T> Sync for SubsectionReader<R, T> where
    R: Sync,
    T: Sync,
    <T as LayoutBuffer>::Buffer: Sync

impl<R, T> Unpin for SubsectionReader<R, T> where
    R: Unpin,
    T: Unpin,
    <T as LayoutBuffer>::Buffer: Unpin

impl<R, T> UnwindSafe for SubsectionReader<R, T> where
    R: UnwindSafe,
    T: UnwindSafe,
    <T as LayoutBuffer>::Buffer: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.