Trait dae_parser::source::SourceRead
source · [−]pub trait SourceRead<K: InputKind + ?Sized>: Sized {
type Output: Clone;
fn load(&self, data: &[<K::Array as ArrayKind>::Elem]) -> Self::Output;
}
Expand description
A trait for Source
readers, which are used via the SourceReader
type returned from Source::reader
. Users can implement this trait
on their own type to customize reading, or use XYZ
and ST
for the common cases.