pub struct FormatterContext { /* private fields */ }Implementations§
Source§impl FormatterContext
impl FormatterContext
pub fn new() -> Self
pub fn with_indent(self, indent: &'static str) -> Self
pub fn with_pretty(self, pretty: bool) -> Self
pub fn with_boolean(self, boolean: bool) -> Self
pub fn with_hex(self, hex: bool) -> Self
Trait Implementations§
Source§impl Clone for FormatterContext
impl Clone for FormatterContext
Source§fn clone(&self) -> FormatterContext
fn clone(&self) -> FormatterContext
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 FormatterContext
impl Debug for FormatterContext
Source§impl Default for FormatterContext
impl Default for FormatterContext
impl Copy for FormatterContext
Auto Trait Implementations§
impl Freeze for FormatterContext
impl RefUnwindSafe for FormatterContext
impl Send for FormatterContext
impl Sync for FormatterContext
impl Unpin for FormatterContext
impl UnwindSafe for FormatterContext
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