[][src]Struct binjs::specialized::es6::io::Encoder

pub struct Encoder;

Methods

impl Encoder[src]

pub fn new() -> Encoder[src]

pub fn encode<AST>(
    &self,
    path: Option<&Path>,
    format: &mut Format,
    ast: &AST
) -> Result<Box<[u8]>, TokenWriterError> where
    Serializer<TokenWriterTreeAdapter<TreeTokenWriter>>: Serialization<AST>,
    Serializer<TokenWriterTreeAdapter<TreeTokenWriter>>: Serialization<AST>,
    Serializer<TokenWriterTreeAdapter<Encoder>>: Serialization<AST>,
    Serializer<TreeTokenWriter>: Serialization<AST>,
    Serializer<Encoder>: Serialization<AST>, 
[src]

Auto Trait Implementations

impl RefUnwindSafe for Encoder

impl Send for Encoder

impl Sync for Encoder

impl Unpin for Encoder

impl UnwindSafe for Encoder

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]