Struct mmd::pmx::reader::surface::SurfaceReader[][src]

pub struct SurfaceReader<R> {
    pub settings: Settings,
    pub count: i32,
    pub remaining: i32,
    // some fields omitted
}

Fields

settings: Settingscount: i32remaining: i32

Implementations

impl<R: Read> SurfaceReader<R>[src]

pub fn new(mut v: VertexReader<R>) -> Result<SurfaceReader<R>>[src]

pub fn next<C: Config>(&mut self) -> Result<Option<[C::VertexIndex; 3]>>[src]

pub fn iter<I>(&mut self) -> SurfaceIterator<'_, R, I>

Notable traits for SurfaceIterator<'_, R, C>

impl<R: Read, C: Config> Iterator for SurfaceIterator<'_, R, C> type Item = Result<[C::VertexIndex; 3]>;
[src]

Auto Trait Implementations

impl<R> RefUnwindSafe for SurfaceReader<R> where
    R: RefUnwindSafe
[src]

impl<R> Send for SurfaceReader<R> where
    R: Send
[src]

impl<R> Sync for SurfaceReader<R> where
    R: Sync
[src]

impl<R> Unpin for SurfaceReader<R> where
    R: Unpin
[src]

impl<R> UnwindSafe for SurfaceReader<R> where
    R: UnwindSafe
[src]

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.