[−][src]Struct lexpr::print::CustomizedFormatter
A formatter which can be tuned with regards to S-expressions representation.
Trait Implementations
impl Clone for CustomizedFormatter
[src]
fn clone(&self) -> CustomizedFormatter
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for CustomizedFormatter
[src]
impl Formatter for CustomizedFormatter
[src]
fn write_nil<W: ?Sized>(&mut self, writer: &mut W) -> Result<()> where
W: Write,
[src]
W: Write,
fn write_bool<W: ?Sized>(&mut self, writer: &mut W, value: bool) -> Result<()> where
W: Write,
[src]
W: Write,
fn write_keyword<W: ?Sized>(&mut self, writer: &mut W, name: &str) -> Result<()> where
W: Write,
[src]
W: Write,
fn begin_vector<W: ?Sized>(
&mut self,
kind: VectorType,
writer: &mut W
) -> Result<()> where
W: Write,
[src]
&mut self,
kind: VectorType,
writer: &mut W
) -> Result<()> where
W: Write,
fn end_vector<W: ?Sized>(&mut self, writer: &mut W) -> Result<()> where
W: Write,
[src]
W: Write,
fn write_char<W: ?Sized>(&mut self, writer: &mut W, c: char) -> Result<()> where
W: Write,
[src]
W: Write,
fn write_char_escape<W: ?Sized>(
&mut self,
writer: &mut W,
char_escape: CharEscape
) -> Result<()> where
W: Write,
[src]
&mut self,
writer: &mut W,
char_escape: CharEscape
) -> Result<()> where
W: Write,
Writes a character escape code to the specified writer.
fn write_bytes<W: ?Sized>(&mut self, writer: &mut W, bytes: &[u8]) -> Result<()> where
W: Write,
[src]
W: Write,
fn write_null<W: ?Sized>(&mut self, writer: &mut W) -> Result<()> where
W: Write,
[src]
W: Write,
fn write_number<W: ?Sized>(
&mut self,
writer: &mut W,
value: &Number
) -> Result<()> where
W: Write,
[src]
&mut self,
writer: &mut W,
value: &Number
) -> Result<()> where
W: Write,
fn begin_string<W: ?Sized>(&mut self, writer: &mut W) -> Result<()> where
W: Write,
[src]
W: Write,
fn end_string<W: ?Sized>(&mut self, writer: &mut W) -> Result<()> where
W: Write,
[src]
W: Write,
fn write_string_fragment<W: ?Sized>(
&mut self,
writer: &mut W,
fragment: &str
) -> Result<()> where
W: Write,
[src]
&mut self,
writer: &mut W,
fragment: &str
) -> Result<()> where
W: Write,
fn write_symbol<W: ?Sized>(&mut self, writer: &mut W, name: &str) -> Result<()> where
W: Write,
[src]
W: Write,
fn begin_list<W: ?Sized>(&mut self, writer: &mut W) -> Result<()> where
W: Write,
[src]
W: Write,
fn end_list<W: ?Sized>(&mut self, writer: &mut W) -> Result<()> where
W: Write,
[src]
W: Write,
fn begin_seq_element<W: ?Sized>(
&mut self,
writer: &mut W,
first: bool
) -> Result<()> where
W: Write,
[src]
&mut self,
writer: &mut W,
first: bool
) -> Result<()> where
W: Write,
fn end_seq_element<W: ?Sized>(&mut self, _writer: &mut W) -> Result<()> where
W: Write,
[src]
W: Write,
fn write_dot<W: ?Sized>(&mut self, writer: &mut W) -> Result<()> where
W: Write,
[src]
W: Write,
Auto Trait Implementations
impl RefUnwindSafe for CustomizedFormatter
impl Send for CustomizedFormatter
impl Sync for CustomizedFormatter
impl Unpin for CustomizedFormatter
impl UnwindSafe for CustomizedFormatter
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>,