pub struct InspectStyle {
pub max_elements: usize,
pub max_string_len: usize,
pub use_colors: bool,
pub indent: String,
}Expand description
Display style configuration
Fields§
§max_elements: usizeMaximum elements to display in collections
max_string_len: usizeMaximum string length before truncation
use_colors: boolUse colors in output
indent: StringIndentation string
Trait Implementations§
Source§impl Clone for InspectStyle
impl Clone for InspectStyle
Source§fn clone(&self) -> InspectStyle
fn clone(&self) -> InspectStyle
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 moreSource§impl Debug for InspectStyle
impl Debug for InspectStyle
Auto Trait Implementations§
impl Freeze for InspectStyle
impl RefUnwindSafe for InspectStyle
impl Send for InspectStyle
impl Sync for InspectStyle
impl Unpin for InspectStyle
impl UnwindSafe for InspectStyle
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