pub struct Cache { /* private fields */ }Implementations§
Source§impl Cache
impl Cache
pub fn process( &mut self, index: usize, frequency: u64, c: &mut 部分编码信息, parameters: &Parameters, )
pub fn finalize(&self, parameters: &Parameters) -> (PartialMetric, f64)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Cache
impl RefUnwindSafe for Cache
impl Send for Cache
impl Sync for Cache
impl Unpin for Cache
impl UnwindSafe for Cache
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more