Struct serialize::json::FormatShim [−][src]
struct FormatShim<'a, 'b: 'a> { inner: &'a mut Formatter<'b>, }
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Fields
inner: &'a mut Formatter<'b>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Trait Implementations
impl<'a, 'b> Write for FormatShim<'a, 'b>
[src]
impl<'a, 'b> Write for FormatShim<'a, 'b>
fn write_str(&mut self, s: &str) -> Result
[src]
fn write_str(&mut self, s: &str) -> Result
Writes a slice of bytes into this writer, returning whether the write succeeded. Read more
fn write_char(&mut self, c: char) -> Result<(), Error>
1.1.0[src]
fn write_char(&mut self, c: char) -> Result<(), Error>
1.1.0
[src]Writes a [char
] into this writer, returning whether the write succeeded. Read more
fn write_fmt(&mut self, args: Arguments) -> Result<(), Error>
1.0.0[src]
fn write_fmt(&mut self, args: Arguments) -> Result<(), Error>
1.0.0
[src]Glue for usage of the [write!
] macro with implementors of this trait. Read more
Auto Trait Implementations
impl<'a, 'b> !Send for FormatShim<'a, 'b>
impl<'a, 'b> !Send for FormatShim<'a, 'b>
impl<'a, 'b> !Sync for FormatShim<'a, 'b>
impl<'a, 'b> !Sync for FormatShim<'a, 'b>