pub trait InputKind {
    type Array: ArrayKind;
    type Reader: SourceRead<Self>;
    fn new_reader(&self, acc: &Accessor) -> Option<Self::Reader>;
}
Expand description

A trait implemented on marker types like XYZ to allow for strict typing of input kinds.

Associated Types

The array type that this reader is expecting. Must be one of the types in ArrayElement.

The associated reader type.

Required methods

Constructs a new reader object from the given Accessor.

Implementors