pub struct Tracker {
data: Arc<Mutex<PatternData>>,
data_prod: Producer<PatternUpdateMsg>,
seq: Option<PatternSequencer>,
seq_cons: Option<Consumer<PatternUpdateMsg>>,
}
Fields
data: Arc<Mutex<PatternData>>
data_prod: Producer<PatternUpdateMsg>
seq: Option<PatternSequencer>
seq_cons: Option<Consumer<PatternUpdateMsg>>
Implementations
sourceimpl Tracker
impl Tracker
pub fn new() -> Self
pub fn data(&self) -> Arc<Mutex<PatternData>>
pub fn send_one_update(&mut self) -> bool
pub fn get_backend(&mut self) -> TrackerBackend
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Tracker
impl Send for Tracker
impl Sync for Tracker
impl Unpin for Tracker
impl !UnwindSafe for Tracker
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more