Trait geologic::Interpretation2D
source · [−]pub trait Interpretation2D: AsRef<[Self::Item]> + IndexMut<Range<usize>, Output = [Self::Item]> {
type Item;
fn size(&self) -> usize;
fn write<W>(&mut self, rows: impl Iterator<Item = Range<usize>>, write: W)
where
W: FnMut(usize, &mut [Self::Item]),
{ ... }
fn values(&self) -> &[Self::Item] { ... }
}