pub struct DenseArray<N> { /* private fields */ }Expand description
A materialized 3-dimensional array containing the burned geometries and spatial information.
Implementations§
Source§impl<N: Num> DenseArray<N>
impl<N: Num> DenseArray<N>
Sourcepub fn into_parts(self) -> (Array3<N>, Vec<String>, RasterInfo)
pub fn into_parts(self) -> (Array3<N>, Vec<String>, RasterInfo)
Consume self and extract all fields of the DenseArray.
Sourcepub fn band_names(&self) -> &[String]
pub fn band_names(&self) -> &[String]
Sorted band names for the array. Defaults to “band_1” for a single band.
Sourcepub fn raster_info(&self) -> &RasterInfo
pub fn raster_info(&self) -> &RasterInfo
Spatial information associated with the array.
Trait Implementations§
Source§impl<N> ArrayBuilder for DenseArray<N>where
N: RasterDtype,
impl<N> ArrayBuilder for DenseArray<N>where
N: RasterDtype,
Auto Trait Implementations§
impl<N> Freeze for DenseArray<N>
impl<N> RefUnwindSafe for DenseArray<N>where
N: RefUnwindSafe,
impl<N> Send for DenseArray<N>where
N: Send,
impl<N> Sync for DenseArray<N>where
N: Sync,
impl<N> Unpin for DenseArray<N>
impl<N> UnsafeUnpin for DenseArray<N>
impl<N> UnwindSafe for DenseArray<N>where
N: RefUnwindSafe,
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> 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