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§
Sourcefn into_frc(&self, data: &Array2<U>) -> Array3<U>
fn into_frc(&self, data: &Array2<U>) -> Array3<U>
Converts feature-request-count data to full resolution count.
Sourcefn write_samples_feature<T>(&self, data: &Array2<T>, file_name: &PathBuf, na: T)where
T: RasterType + ToPrimitive,
fn write_samples_feature<T>(&self, data: &Array2<T>, file_name: &PathBuf, na: T)where
T: RasterType + ToPrimitive,
Writes samples for a feature.
Sourcefn write3<T>(&self, data: Array3<T>, out_fn: &PathBuf)where
T: RasterType + ToPrimitive,
fn write3<T>(&self, data: Array3<T>, out_fn: &PathBuf)where
T: RasterType + ToPrimitive,
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.