Skip to main content

Rasterize

Trait Rasterize 

Source
pub trait Rasterize {
    // Required method
    fn rasterize<A: ArrayBuilder>(
        &self,
        ctx: RasterizeContext<'_, A::Dtype>,
    ) -> RusterizeResult<A>;
}
Expand description

Rasterization trait. Attaches to anything that can be viewed as a geo::Geometry slice and produces a DenseArray or a SparseArray.

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<T: AsRef<[Geometry<f64>]> + ?Sized> Rasterize for T