[][src]Struct binjs_io::io::TokenWriterTreeAdapter

pub struct TokenWriterTreeAdapter<T> where
    T: TokenWriterWithTree
{ /* fields omitted */ }

Methods

impl<T> TokenWriterTreeAdapter<T> where
    T: TokenWriterWithTree
[src]

pub fn new(writer: T) -> Self[src]

pub fn top_mut(&mut self) -> &mut Vec<T::Tree>[src]

Trait Implementations

impl<T> TokenWriter for TokenWriterTreeAdapter<T> where
    T: TokenWriterWithTree
[src]

type Data = T::Data

The type of data generated by this writer. Typically some variant of Vec<u8>. Read more

Auto Trait Implementations

impl<T> RefUnwindSafe for TokenWriterTreeAdapter<T> where
    T: RefUnwindSafe,
    <T as TokenWriterWithTree>::Tree: RefUnwindSafe

impl<T> Send for TokenWriterTreeAdapter<T> where
    T: Send,
    <T as TokenWriterWithTree>::Tree: Send

impl<T> Sync for TokenWriterTreeAdapter<T> where
    T: Sync,
    <T as TokenWriterWithTree>::Tree: Sync

impl<T> Unpin for TokenWriterTreeAdapter<T> where
    T: Unpin,
    <T as TokenWriterWithTree>::Tree: Unpin

impl<T> UnwindSafe for TokenWriterTreeAdapter<T> where
    T: UnwindSafe,
    <T as TokenWriterWithTree>::Tree: UnwindSafe

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> Downcast for T where
    T: Any
[src]

impl<T> DowncastSync for T where
    T: Send + Sync + Any
[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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]