h3o 0.9.4

A Rust implementation of the H3 geospatial indexing system.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use core::{error::Error, fmt};

/// Resolution mismatch between two cell indexes.
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub struct ResolutionMismatch;

impl fmt::Display for ResolutionMismatch {
    fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
        write!(f, "resolution mismatch")
    }
}

impl Error for ResolutionMismatch {
    fn source(&self) -> Option<&(dyn Error + 'static)> {
        None
    }
}