pub struct Styles<S = String> {
pub null: S,
pub false: S,
pub true: S,
pub num: S,
pub str: S,
pub arr: S,
pub obj: S,
pub key: S,
pub bstr: S,
pub reset: S,
}Expand description
Styles used to pretty-print values.
Fields§
§null: Snull
false: Sfalse
true: Strue
num: Snumbers
str: Sstrings
arr: Sarrays
obj: Sobjects
key: Sobject keys
bstr: Sbyte strings
reset: Sreset pretty printer
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<S> Freeze for Styles<S>where
S: Freeze,
impl<S> RefUnwindSafe for Styles<S>where
S: RefUnwindSafe,
impl<S> Send for Styles<S>where
S: Send,
impl<S> Sync for Styles<S>where
S: Sync,
impl<S> Unpin for Styles<S>where
S: Unpin,
impl<S> UnsafeUnpin for Styles<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for Styles<S>where
S: UnwindSafe,
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