intuitils 0.0.8

utilities for intuis projects
Documentation
1
2
3
4
5
6
7
8
9
10
use std::hash::Hash;

pub trait UserAction: Eq + Hash + Copy + Ord {
    fn desc(&self) -> &'static str;

    fn merge_desc_with(&self, other: &Self) -> Option<&'static str> {
        let _ = other;
        None
    }
}