struct DebugRing {
entries: [DebugLogEntry; 16],
write_idx: usize,
read_idx: usize,
count: usize,
}Expand description
Ring buffer for debug logs
Fields§
§entries: [DebugLogEntry; 16]§write_idx: usize§read_idx: usize§count: usizeImplementations§
Auto Trait Implementations§
impl Freeze for DebugRing
impl RefUnwindSafe for DebugRing
impl Send for DebugRing
impl Sync for DebugRing
impl Unpin for DebugRing
impl UnwindSafe for DebugRing
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