[−][src]Struct value_trait::generator::WriterGenerator
Writer Generator
Methods
impl<'w, W, V> WriterGenerator<'w, W, V> where
W: 'w + Write,
V: Value,
[src]
W: 'w + Write,
V: Value,
Trait Implementations
impl<'w, W, V> BaseGenerator for WriterGenerator<'w, W, V> where
W: Write,
V: Value,
[src]
W: Write,
V: Value,
type T = W
The writer
fn get_writer(&mut self) -> &mut W
[src]
fn write_min(&mut self, _: &[u8], min: u8) -> Result<()>
[src]
fn write(&mut self, slice: &[u8]) -> Result<()>
[src]
fn write_char(&mut self, ch: u8) -> Result<()>
[src]
fn new_line(&mut self) -> Result<()>
[src]
fn indent(&mut self)
[src]
fn dedent(&mut self)
[src]
fn write_string_complex(&mut self, string: &[u8], start: usize) -> Result<()>
[src]
fn write_string(&mut self, string: &str) -> Result<()>
[src]
fn write_float(&mut self, num: f64) -> Result<()>
[src]
fn write_int(&mut self, num: i64) -> Result<()>
[src]
fn write_uint(&mut self, num: u64) -> Result<()>
[src]
Auto Trait Implementations
impl<'w, W, V> RefUnwindSafe for WriterGenerator<'w, W, V> where
V: RefUnwindSafe,
W: RefUnwindSafe,
V: RefUnwindSafe,
W: RefUnwindSafe,
impl<'w, W, V> Send for WriterGenerator<'w, W, V> where
V: Send,
W: Send,
V: Send,
W: Send,
impl<'w, W, V> Sync for WriterGenerator<'w, W, V> where
V: Sync,
W: Sync,
V: Sync,
W: Sync,
impl<'w, W, V> Unpin for WriterGenerator<'w, W, V> where
V: Unpin,
V: Unpin,
impl<'w, W, V> !UnwindSafe for WriterGenerator<'w, W, V>
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, 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>,