[][src]Struct value_trait::generator::WriterGenerator

pub struct WriterGenerator<'w, W: 'w + Write, V: Value> { /* fields omitted */ }

Writer Generator

Methods

impl<'w, W, V> WriterGenerator<'w, W, V> where
    W: 'w + Write,
    V: Value
[src]

pub fn new(writer: &'w mut W) -> Self[src]

Creates a new generator

Trait Implementations

impl<'w, W, V> BaseGenerator for WriterGenerator<'w, W, V> where
    W: Write,
    V: Value
[src]

type T = W

The writer

Auto Trait Implementations

impl<'w, W, V> RefUnwindSafe for WriterGenerator<'w, W, V> where
    V: RefUnwindSafe,
    W: RefUnwindSafe

impl<'w, W, V> Send for WriterGenerator<'w, W, V> where
    V: Send,
    W: Send

impl<'w, W, V> Sync for WriterGenerator<'w, W, V> where
    V: Sync,
    W: Sync

impl<'w, W, V> Unpin for WriterGenerator<'w, W, V> where
    V: Unpin

impl<'w, W, V> !UnwindSafe for WriterGenerator<'w, W, V>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.