pub struct RasterDataShape {
pub times: usize,
pub layers: usize,
pub rows: usize,
pub cols: usize,
}Expand description
Shape of a 4D raster array (times, layers, rows, cols).
Fields§
§times: usizeNumber of time steps.
layers: usizeNumber of layers/bands.
rows: usizeNumber of rows.
cols: usizeNumber of columns.
Trait Implementations§
Source§impl Clone for RasterDataShape
impl Clone for RasterDataShape
Source§fn clone(&self) -> RasterDataShape
fn clone(&self) -> RasterDataShape
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RasterDataShape
impl Debug for RasterDataShape
Source§impl Index<usize> for RasterDataShape
impl Index<usize> for RasterDataShape
Source§impl IndexMut<usize> for RasterDataShape
impl IndexMut<usize> for RasterDataShape
Source§impl PartialEq for RasterDataShape
impl PartialEq for RasterDataShape
Source§impl Stack for RasterDataShape
impl Stack for RasterDataShape
Source§fn extend(&mut self, other: RasterDataShape) -> &mut RasterDataShape
fn extend(&mut self, other: RasterDataShape) -> &mut RasterDataShape
Extends the time dimension.
Source§fn stack(
&mut self,
other: RasterDataShape,
dim_to_stack: Dimension,
) -> &mut RasterDataShape
fn stack( &mut self, other: RasterDataShape, dim_to_stack: Dimension, ) -> &mut RasterDataShape
Stacks another shape along a dimension.
impl Copy for RasterDataShape
impl StructuralPartialEq for RasterDataShape
Auto Trait Implementations§
impl Freeze for RasterDataShape
impl RefUnwindSafe for RasterDataShape
impl Send for RasterDataShape
impl Sync for RasterDataShape
impl Unpin for RasterDataShape
impl UnwindSafe for RasterDataShape
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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