18 lines
296 B
Rust
18 lines
296 B
Rust
use crate::pos::PosCounter;
|
|
|
|
pub struct NopPosCounter {}
|
|
|
|
impl Default for NopPosCounter {
|
|
fn default() -> Self {
|
|
return NopPosCounter {};
|
|
}
|
|
}
|
|
|
|
impl<C: Copy> PosCounter<'static, C> for NopPosCounter {
|
|
type P = ();
|
|
|
|
fn update(&mut self, _: C) {}
|
|
|
|
fn export(&self) {}
|
|
}
|