rusterize-rs 0.1.0

Extremely fast geometry rasterization
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use thiserror::Error;

#[derive(Error, Debug)]
pub enum RusterizeError {
    #[error("{0}")]
    RuntimeError(&'static str),
    #[error("{0}")]
    ValueError(&'static str),
    #[cfg(feature = "polars")]
    #[error(transparent)]
    Polars(#[from] polars::error::PolarsError),
}

pub type RusterizeResult<T> = std::result::Result<T, RusterizeError>;