pub struct Inputs {
pub rows: usize,
pub cols: usize,
pub affine: RasterAffine,
pub x_axis: Vec<f64>,
pub y_axis: Vec<f64>,
pub mask: Vec<u8>,
pub delaunay: ScipyDelaunay,
}Expand description
Prepared per-profile inputs (validated).
Fields§
§rows: usize§cols: usize§affine: RasterAffine§x_axis: Vec<f64>§y_axis: Vec<f64>§mask: Vec<u8>§delaunay: ScipyDelaunayImplementations§
Source§impl Inputs
impl Inputs
Sourcepub fn planned_bytes(meta: &InputsJson) -> u64
pub fn planned_bytes(meta: &InputsJson) -> u64
Bytes the inputs will occupy, computed from inputs.json before reading any array.
pub fn load_meta(dir: &Path) -> Result<InputsJson, MapError>
pub fn load(dir: &Path, m: &InputsJson) -> Result<Self, MapError>
Auto Trait Implementations§
impl Freeze for Inputs
impl RefUnwindSafe for Inputs
impl Send for Inputs
impl Sync for Inputs
impl Unpin for Inputs
impl UnsafeUnpin for Inputs
impl UnwindSafe for Inputs
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more