pub struct DbgCtx<E> {
pub trace: bool,
/* private fields */
}
Fields§
§trace: bool
Implementations§
Source§impl<E: Clone> DbgCtx<E>
impl<E: Clone> DbgCtx<E>
pub fn iter_events( &self, ) -> impl Iterator<Item = &(ExprId, (DateTime<Local>, Option<Event<E>>, Value))>
pub fn get_current(&self, id: &ExprId) -> Option<&(Option<Event<E>>, Value)>
pub fn add_watch( &mut self, id: ExprId, watch: &Arc<dyn Fn(&DateTime<Local>, &Option<Event<E>>, &Value) + Send + Sync>, )
pub fn add_event(&mut self, id: ExprId, event: Option<Event<E>>, value: Value)
pub fn clear(&mut self)
Auto Trait Implementations§
impl<E> Freeze for DbgCtx<E>
impl<E> !RefUnwindSafe for DbgCtx<E>
impl<E> Send for DbgCtx<E>where
E: Send,
impl<E> Sync for DbgCtx<E>where
E: Sync,
impl<E> Unpin for DbgCtx<E>where
E: Unpin,
impl<E> !UnwindSafe for DbgCtx<E>
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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