pub struct DebugGraph {
pub label: String,
pub bars: Vec<f32>,
}Expand description
One rolling graph in a DebugSection: what it plots, and a bar per
sample, oldest first.
Fields§
§label: StringWhat the bars are.
bars: Vec<f32>Each sample’s height as a fraction of the graph’s, 0 to 1.
Trait Implementations§
Source§impl Clone for DebugGraph
impl Clone for DebugGraph
Source§impl Debug for DebugGraph
impl Debug for DebugGraph
Source§impl Default for DebugGraph
impl Default for DebugGraph
Source§impl PartialEq for DebugGraph
impl PartialEq for DebugGraph
impl StructuralPartialEq for DebugGraph
Auto Trait Implementations§
impl Freeze for DebugGraph
impl RefUnwindSafe for DebugGraph
impl Send for DebugGraph
impl Sync for DebugGraph
impl Unpin for DebugGraph
impl UnsafeUnpin for DebugGraph
impl UnwindSafe for DebugGraph
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