[][src]Struct rant::runtime::OutputWriter

pub struct OutputWriter { /* fields omitted */ }

Writes a stream of buffers that can be passed to a parent buffer or rendered to a string.

Implementations

impl OutputWriter[src]

pub fn new(prev_output: Option<&Self>) -> Self[src]

pub fn format(&self) -> &OutputFormat[src]

pub fn format_mut(&mut self) -> &mut OutputFormat[src]

pub fn write_buffer(&mut self, value: OutputBuffer)[src]

pub fn write_frag(&mut self, value: &str)[src]

pub fn write_ws(&mut self, value: &str)[src]

impl OutputWriter[src]

Trait Implementations

impl Default for OutputWriter[src]

Auto Trait Implementations

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,