Enum json_syntax::print::Size
source · [−]pub enum Size {
Expanded,
Width(usize),
}
Expand description
The size of a value.
Variants
Expanded
The value (array or object) is expanded on multiple lines.
Width(usize)
The value is formatted in a single line with the given character width.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Size
impl Send for Size
impl Sync for Size
impl Unpin for Size
impl UnwindSafe for Size
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more