Trait timer_util::Computer
source · pub trait Computer {
type ValTy;
type DataTy;
const MIN: Self::ValTy;
fn update_to_next_ring(&mut self);
fn is_match(&self) -> bool;
fn next_val(&self) -> Option<Self::DataTy>;
fn min_val(&self) -> Self::DataTy;
fn val_mut(&mut self, val: Self::DataTy);
fn val(&self) -> Self::ValTy;
}Required Associated Types§
Required Associated Constants§
Required Methods§
sourcefn update_to_next_ring(&mut self)
fn update_to_next_ring(&mut self)
下个循环的第一个符合值