pub struct JsonEncoder(_);
Expand description
An Encode
r which writes a JSON object.
Implementations
sourceimpl JsonEncoder
impl JsonEncoder
sourcepub fn new() -> JsonEncoder
pub fn new() -> JsonEncoder
Returns a new JsonEncoder
with a default configuration.
Trait Implementations
sourceimpl Debug for JsonEncoder
impl Debug for JsonEncoder
Auto Trait Implementations
impl RefUnwindSafe for JsonEncoder
impl Send for JsonEncoder
impl Sync for JsonEncoder
impl Unpin for JsonEncoder
impl UnwindSafe for JsonEncoder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more