inkling 0.12.5

Limited implementation of the Ink markup language.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Utilities and derives used elsewhere in the library.

#[cfg(feature = "serde_support")]
use serde::{Deserialize, Serialize};
#[cfg(feature = "serde_support")]
use std::cmp::Ordering;

#[cfg(feature = "serde_support")]
#[derive(Deserialize, Serialize)]
#[serde(remote = "Ordering")]
/// Remote type to derive `Deserialize` and `Serialize` for `Ordering`.
pub enum OrderingDerive {
    Equal,
    Less,
    Greater,
}