pub trait FreshCategory: Sized {
// Required method
fn fresh(categories: &[Self]) -> Self;
}Expand description
A trait which can generate a novel category given a slice of pre-existing categories. For integers, this is just the maximum number + 1.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.