[][src]Enum term_basics_linux::tbl::TextStyle

pub enum TextStyle {
    Std,
    Bold,
    Faint,
    Italic,
    Underlined,
    Blink,
    Hidden,
    Crossed,
}

All styles that do not alter fg or bg colours.

Variants

StdBoldFaintItalicUnderlinedBlinkHiddenCrossed

Methods

impl TextStyle[src]

Iterate over all styles.

Example

use term_basics_linux::tbl;
for sty in tbl::TextStyle::iterator(){
    //use sty
}

pub fn iterator() -> Iter<'static, Self>[src]

Trait Implementations

impl Eq for TextStyle[src]

impl PartialEq<TextStyle> for TextStyle[src]

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

impl Clone for TextStyle[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl ToPrimitive for TextStyle[src]

fn to_isize(&self) -> Option<isize>[src]

Converts the value of self to an isize.

fn to_i8(&self) -> Option<i8>[src]

Converts the value of self to an i8.

fn to_i16(&self) -> Option<i16>[src]

Converts the value of self to an i16.

fn to_i32(&self) -> Option<i32>[src]

Converts the value of self to an i32.

fn to_i128(&self) -> Option<i128>[src]

Converts the value of self to an i128. Read more

fn to_usize(&self) -> Option<usize>[src]

Converts the value of self to a usize.

fn to_u8(&self) -> Option<u8>[src]

Converts the value of self to an u8.

fn to_u16(&self) -> Option<u16>[src]

Converts the value of self to an u16.

fn to_u32(&self) -> Option<u32>[src]

Converts the value of self to an u32.

fn to_u128(&self) -> Option<u128>[src]

Converts the value of self to an u128. Read more

fn to_f32(&self) -> Option<f32>[src]

Converts the value of self to an f32.

fn to_f64(&self) -> Option<f64>[src]

Converts the value of self to an f64.

Auto Trait Implementations

impl Send for TextStyle

impl Sync for TextStyle

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for 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]