pub struct Reader<'a, 's, F>where
F: Clone + Fn(Buffer<'a>) -> Option<&'s [u8]>,{ /* private fields */ }Available on crate feature
utils only.Expand description
Animation channel reader.
Implementations§
source§impl<'a, 's, F> Reader<'a, 's, F>where
F: Clone + Fn(Buffer<'a>) -> Option<&'s [u8]>,
impl<'a, 's, F> Reader<'a, 's, F>where
F: Clone + Fn(Buffer<'a>) -> Option<&'s [u8]>,
sourcepub fn read_inputs(&self) -> Option<ReadInputs<'s>>
pub fn read_inputs(&self) -> Option<ReadInputs<'s>>
Visits the input samples of a channel.
sourcepub fn read_outputs(&self) -> Option<ReadOutputs<'s>>
pub fn read_outputs(&self) -> Option<ReadOutputs<'s>>
Visits the output samples of a channel.