pub struct DebugTableOverlay {
pub title: String,
pub rows: Vec<DebugTableRow>,
pub cell_preview: Option<CellPreview>,
}Expand description
A debug table overlay with title, rows, and optional cell preview
Fields§
§title: StringTitle displayed at the top of the overlay
rows: Vec<DebugTableRow>Table rows (sections and entries)
cell_preview: Option<CellPreview>Optional cell preview for inspect overlays
Implementations§
Source§impl DebugTableOverlay
impl DebugTableOverlay
Sourcepub fn new(title: impl Into<String>, rows: Vec<DebugTableRow>) -> Self
pub fn new(title: impl Into<String>, rows: Vec<DebugTableRow>) -> Self
Create a new overlay with the given title and rows
Sourcepub fn with_cell_preview(
title: impl Into<String>,
rows: Vec<DebugTableRow>,
preview: CellPreview,
) -> Self
pub fn with_cell_preview( title: impl Into<String>, rows: Vec<DebugTableRow>, preview: CellPreview, ) -> Self
Create a new overlay with cell preview
Trait Implementations§
Source§impl Clone for DebugTableOverlay
impl Clone for DebugTableOverlay
Source§fn clone(&self) -> DebugTableOverlay
fn clone(&self) -> DebugTableOverlay
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DebugTableOverlay
impl RefUnwindSafe for DebugTableOverlay
impl Send for DebugTableOverlay
impl Sync for DebugTableOverlay
impl Unpin for DebugTableOverlay
impl UnwindSafe for DebugTableOverlay
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more