pub struct DebugHistory {
pub events: VecDeque<DebugEvent>,
pub is_interesting: bool,
}Fields§
§events: VecDeque<DebugEvent>Starts empty and unallocated: only a debug-build push ever records,
and it reserves the whole ring on first use.
is_interesting: boolImplementations§
Source§impl DebugHistory
impl DebugHistory
pub fn new() -> Self
pub fn push(&mut self, _event: DebugEvent)
pub fn set_interesting(&mut self, _interesting: bool)
pub fn is_interesting(&self) -> bool
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for DebugHistory
impl !UnwindSafe for DebugHistory
impl Freeze for DebugHistory
impl Send for DebugHistory
impl Sync for DebugHistory
impl Unpin for DebugHistory
impl UnsafeUnpin for DebugHistory
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