[][src]Enum termwiz::lineedit::OutputElement

pub enum OutputElement {
    Attribute(AttributeChange),
    AllAttributes(CellAttributes),
    Text(String),
}

The OutputElement type allows returning graphic attribute changes as well as textual output.

Variants

Attribute(AttributeChange)

Change a single attribute

AllAttributes(CellAttributes)

Change all possible attributes to the given set of values

Text(String)

Printable text. Control characters are rendered inert by transforming them to space. CR and LF characters are interpreted by moving the cursor position. CR moves the cursor to the start of the line and LF moves the cursor down to the next line. You typically want to use both together when sending in a line break.

Trait Implementations

impl Into<Change> for OutputElement[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.