[−][src]Struct serde_lexpr::print::DefaultFormatter
This structure compacts a S-expression value on a single line, using the default representation, which is similar to Scheme.
Trait Implementations
impl Clone for DefaultFormatter
[src]
fn clone(&self) -> DefaultFormatter
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for DefaultFormatter
[src]
impl Formatter for DefaultFormatter
[src]
fn write_nil<W>(&mut self, writer: &mut W) -> Result<(), Error> where
W: Write + ?Sized,
[src]
W: Write + ?Sized,
fn write_null<W>(&mut self, writer: &mut W) -> Result<(), Error> where
W: Write + ?Sized,
[src]
W: Write + ?Sized,
fn write_bool<W>(&mut self, writer: &mut W, value: bool) -> Result<(), Error> where
W: Write + ?Sized,
[src]
W: Write + ?Sized,
fn write_number<W>(
&mut self,
writer: &mut W,
value: &Number
) -> Result<(), Error> where
W: Write + ?Sized,
[src]
&mut self,
writer: &mut W,
value: &Number
) -> Result<(), Error> where
W: Write + ?Sized,
fn write_char<W>(&mut self, writer: &mut W, c: char) -> Result<(), Error> where
W: Write + ?Sized,
[src]
W: Write + ?Sized,
fn begin_string<W>(&mut self, writer: &mut W) -> Result<(), Error> where
W: Write + ?Sized,
[src]
W: Write + ?Sized,
fn end_string<W>(&mut self, writer: &mut W) -> Result<(), Error> where
W: Write + ?Sized,
[src]
W: Write + ?Sized,
fn write_string_fragment<W>(
&mut self,
writer: &mut W,
fragment: &str
) -> Result<(), Error> where
W: Write + ?Sized,
[src]
&mut self,
writer: &mut W,
fragment: &str
) -> Result<(), Error> where
W: Write + ?Sized,
fn write_char_escape<W>(
&mut self,
writer: &mut W,
char_escape: CharEscape
) -> Result<(), Error> where
W: Write + ?Sized,
[src]
&mut self,
writer: &mut W,
char_escape: CharEscape
) -> Result<(), Error> where
W: Write + ?Sized,
fn write_symbol<W>(&mut self, writer: &mut W, name: &str) -> Result<(), Error> where
W: Write + ?Sized,
[src]
W: Write + ?Sized,
fn write_keyword<W>(&mut self, writer: &mut W, name: &str) -> Result<(), Error> where
W: Write + ?Sized,
[src]
W: Write + ?Sized,
fn write_bytes<W>(&mut self, writer: &mut W, bytes: &[u8]) -> Result<(), Error> where
W: Write + ?Sized,
[src]
W: Write + ?Sized,
fn begin_list<W>(&mut self, writer: &mut W) -> Result<(), Error> where
W: Write + ?Sized,
[src]
W: Write + ?Sized,
fn end_list<W>(&mut self, writer: &mut W) -> Result<(), Error> where
W: Write + ?Sized,
[src]
W: Write + ?Sized,
fn begin_seq_element<W>(
&mut self,
writer: &mut W,
first: bool
) -> Result<(), Error> where
W: Write + ?Sized,
[src]
&mut self,
writer: &mut W,
first: bool
) -> Result<(), Error> where
W: Write + ?Sized,
fn end_seq_element<W>(&mut self, _writer: &mut W) -> Result<(), Error> where
W: Write + ?Sized,
[src]
W: Write + ?Sized,
fn begin_vector<W>(
&mut self,
kind: VectorType,
writer: &mut W
) -> Result<(), Error> where
W: Write + ?Sized,
[src]
&mut self,
kind: VectorType,
writer: &mut W
) -> Result<(), Error> where
W: Write + ?Sized,
fn end_vector<W>(&mut self, writer: &mut W) -> Result<(), Error> where
W: Write + ?Sized,
[src]
W: Write + ?Sized,
fn write_dot<W>(&mut self, writer: &mut W) -> Result<(), Error> where
W: Write + ?Sized,
[src]
W: Write + ?Sized,
Auto Trait Implementations
impl RefUnwindSafe for DefaultFormatter
impl Send for DefaultFormatter
impl Sync for DefaultFormatter
impl Unpin for DefaultFormatter
impl UnwindSafe for DefaultFormatter
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,