Struct gltf::animation::util::Reader [−][src]
pub struct Reader<'a, 's, F> where
F: Clone + Fn(Buffer<'a>) -> Option<&'s [u8]>, { /* fields omitted */ }This is supported on crate feature
utils only.Expand description
Animation channel reader.
Implementations
impl<'a, 's, F> Reader<'a, 's, F> where
F: Clone + Fn(Buffer<'a>) -> Option<&'s [u8]>, [src]
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]
pub fn read_inputs(&self) -> Option<ReadInputs<'s>>[src]Visits the input samples of a channel.
pub fn read_outputs(&self) -> Option<ReadOutputs<'s>>[src]
pub fn read_outputs(&self) -> Option<ReadOutputs<'s>>[src]Visits the output samples of a channel.
Trait Implementations
Auto Trait Implementations
impl<'a, 's, F> RefUnwindSafe for Reader<'a, 's, F> where
F: RefUnwindSafe,
F: RefUnwindSafe,
impl<'a, 's, F> Send for Reader<'a, 's, F> where
F: Send,
F: Send,
impl<'a, 's, F> Sync for Reader<'a, 's, F> where
F: Sync,
F: Sync,
impl<'a, 's, F> Unpin for Reader<'a, 's, F> where
F: Unpin,
F: Unpin,
impl<'a, 's, F> UnwindSafe for Reader<'a, 's, F> where
F: UnwindSafe,
F: UnwindSafe,
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for Timpl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more