Trait RasterBlockTrait

Source
pub trait RasterBlockTrait<U>
where U: RasterType,
{ // Required methods fn into_frc(&self, data: &Array2<U>) -> Array3<U>; fn write_samples_feature<T>( &self, data: &Array2<T>, file_name: &PathBuf, na: T, ) where T: RasterType + ToPrimitive; fn write3<T>(&self, data: Array3<T>, out_fn: &PathBuf) where T: RasterType + ToPrimitive; }
Expand description

RasterBlock trait for block-level operations.

Required Methods§

Source

fn into_frc(&self, data: &Array2<U>) -> Array3<U>

Converts feature-request-count data to full resolution count.

Source

fn write_samples_feature<T>(&self, data: &Array2<T>, file_name: &PathBuf, na: T)

Writes samples for a feature.

Source

fn write3<T>(&self, data: Array3<T>, out_fn: &PathBuf)

Writes 3D data.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§