1 2 3 4 5 6 7 8 9 10 11 12
pub mod sm2; pub trait Review: Ord + Default { type Score: Query; fn review(&mut self, score: Self::Score); } #[deprecated] pub trait Query { fn query() -> Self; }