f1r3fly-models 0.1.0

Common data model types for the F1r3fly blockchain, including protobuf definitions and Rust implementations
Documentation
1
2
3
4
5
6
7
// See models/src/main/scala/coop/rchain/models/rholang/sorter/Sortable.scala

use super::score_tree::ScoredTerm;

pub trait Sortable<T> {
    fn sort_match(term: &T) -> ScoredTerm<T>;
}