[][src]Enum bracket_lib::prelude::CommandType

pub enum CommandType {
    Text {
        block: Vec<u8>,
    },
    Centered {
        block: Vec<u8>,
    },
    NewLine {},
    Foreground {
        col: RGB,
    },
    Background {
        col: RGB,
    },
    TextWrapper {
        block: String,
    },
    Reset {},
}

Variants

Text

Fields of Text

block: Vec<u8>
Centered

Fields of Centered

block: Vec<u8>
NewLine

Fields of NewLine

Foreground

Fields of Foreground

col: RGB
Background

Fields of Background

col: RGB
TextWrapper

Fields of TextWrapper

block: String
Reset

Fields of Reset

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>,