sgrust 0.8.6

A sparse grid library written in Rust.
Documentation
use std::fmt::Display;

#[derive(Copy, Clone, Debug, PartialEq, Eq, PartialOrd, Ord)]
pub enum SGError
{
    OutOfDomain,
    NumberOfPointsAndValuesMismatch,
    KdTreeError,
    LZ4DecompressionFailed,
    ReadBufferFailed,
    WriteBufferFailed,
    SerializationFailed,
    DeserializationFailed,    
    FileIOError,
    InvalidIndex,
    InvalidIteratorSequence,
    NotImplemented,
    OperationNotSupported,
}
impl std::error::Error for SGError {}

impl Display for SGError
{
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        write!(f, "{:?}", *self)
    }
}