pub struct TableConfig {
pub max_col_width: usize,
pub max_array_items: usize,
pub sample_rows: Option<usize>,
}Expand description
Configuration for table rendering.
Fields§
§max_col_width: usizeMaximum column width (default: 20).
max_array_items: usizeMaximum array items to show (default: 3).
sample_rows: Option<usize>Number of rows to sample for layout (None = scan all, default: Some(100)).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnsafeUnpin for Config
impl UnwindSafe for Config
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