[][src]Enum linurgy::Output

pub enum Output<'b> {
    StdOut,
    File(&'b str),
    Buffer(&'b mut String),
}

Type of output stream to write edits to

Variants

StdOut

Basic line by line output to stdout

File(&'b str)

Write to a given filename

Buffer(&'b mut String)

Write to a given String buffer

Auto Trait Implementations

impl<'b> Sync for Output<'b>

impl<'b> Send for Output<'b>

impl<'b> Unpin for Output<'b>

impl<'b> RefUnwindSafe for Output<'b>

impl<'b> !UnwindSafe for Output<'b>

Blanket Implementations

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<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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