[][src]Struct gltf::animation::Reader

pub struct Reader<'a, 's, F> where
    F: Clone + Fn(Buffer<'a>) -> Option<&'s [u8]>, 
{ /* fields omitted */ }

Animation channel reader.

Methods

impl<'a, 's, F> Reader<'a, 's, F> where
    F: Clone + Fn(Buffer<'a>) -> Option<&'s [u8]>, 
[src]

pub fn read_inputs(&self) -> Option<ReadInputs<'s>>[src]

This is supported on feature="utils" only.

Visits the input samples of a channel.

pub fn read_outputs(&self) -> Option<ReadOutputs<'s>>[src]

This is supported on feature="utils" only.

Visits the output samples of a channel.

Trait Implementations

impl<'a, 's, F: Clone> Clone for Reader<'a, 's, F> where
    F: Clone + Fn(Buffer<'a>) -> Option<&'s [u8]>, 
[src]

impl<'a, 's, F: Debug> Debug for Reader<'a, 's, F> where
    F: Clone + Fn(Buffer<'a>) -> Option<&'s [u8]>, 
[src]

Auto Trait Implementations

impl<'a, 's, F> RefUnwindSafe for Reader<'a, 's, F> where
    F: RefUnwindSafe

impl<'a, 's, F> Send for Reader<'a, 's, F> where
    F: Send

impl<'a, 's, F> Sync for Reader<'a, 's, F> where
    F: Sync

impl<'a, 's, F> Unpin for Reader<'a, 's, F> where
    F: Unpin

impl<'a, 's, F> UnwindSafe for Reader<'a, 's, F> where
    F: 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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.