pub trait CycleCounter {
// Required methods
fn cycle_add(&self, rhs: Self) -> Self;
fn less_than(&self, rhs: Self) -> bool;
fn greater_equal(&self, rhs: Self) -> bool;
}Required Methods§
fn cycle_add(&self, rhs: Self) -> Self
Sourcefn greater_equal(&self, rhs: Self) -> bool
fn greater_equal(&self, rhs: Self) -> bool
=
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".