geometric-traits 0.2.0

Trait-based algebraic and graph algorithms for Rust, supporting no_std environments
Documentation
1
2
3
4
5
6
7
8
9
use core::fmt::Debug;

#[derive(Debug, thiserror::Error, Clone, PartialEq, Eq)]
/// Error type for sorted data structures.
pub enum SortedError<V> {
    /// The entry is not sorted.
    #[error("Unsorted entry: {0:?}")]
    UnsortedEntry(V),
}