Struct coded_chars::control::rendition::GraphicSelection

source ·
pub struct GraphicSelection { /* private fields */ }

Implementations§

source§

impl GraphicSelection

source

pub fn new() -> Self

source

pub fn default(&mut self) -> &mut Self

Default rendition (implementation-defined), cancels the effect of any preceding occurrence of SGR in the data stream regardless of the setting of the GRAPHIC RENDITION COMBINATION MODE (GRCM).

source

pub fn bold(&mut self) -> &mut Self

Bold or increased intensity

source

pub fn faint(&mut self) -> &mut Self

Faint, decreased intensity or second color

source

pub fn italic(&mut self) -> &mut Self

source

pub fn underline(&mut self) -> &mut Self

Slowly blinking (less than 150/minute)

Rapidly blinking (150/minute or more)

source

pub fn negative(&mut self) -> &mut Self

source

pub fn conceal(&mut self) -> &mut Self

source

pub fn cross(&mut self) -> &mut Self

Crossed-out (characters still legible but marked as to be deleted)

source

pub fn primary_font(&mut self) -> &mut Self

source

pub fn alter1_font(&mut self) -> &mut Self

source

pub fn alter2_font(&mut self) -> &mut Self

source

pub fn alter3_font(&mut self) -> &mut Self

source

pub fn alter4_font(&mut self) -> &mut Self

source

pub fn alter5_font(&mut self) -> &mut Self

source

pub fn alter6_font(&mut self) -> &mut Self

source

pub fn alter7_font(&mut self) -> &mut Self

source

pub fn alter8_font(&mut self) -> &mut Self

source

pub fn alter9_font(&mut self) -> &mut Self

source

pub fn gothic_font(&mut self) -> &mut Self

source

pub fn double_underline(&mut self) -> &mut Self

source

pub fn not_bold_or_faint(&mut self) -> &mut Self

Normal color or normal intensity

source

pub fn not_italic(&mut self) -> &mut Self

Not italicized, not gothic font

source

pub fn not_underline(&mut self) -> &mut Self

Not underline (neither singly or doubly)

Steady (not blinking)

source

pub fn not_negative(&mut self) -> &mut Self

Positive image

source

pub fn not_conceal(&mut self) -> &mut Self

Revealed characters

source

pub fn not_cross(&mut self) -> &mut Self

source

pub fn fg_black(&mut self) -> &mut Self

source

pub fn fg_red(&mut self) -> &mut Self

source

pub fn fg_green(&mut self) -> &mut Self

source

pub fn fg_yellow(&mut self) -> &mut Self

source

pub fn fg_blue(&mut self) -> &mut Self

source

pub fn fg_magenta(&mut self) -> &mut Self

source

pub fn fg_cyan(&mut self) -> &mut Self

source

pub fn fg_gray(&mut self) -> &mut Self

source

pub fn fg_color(&mut self) -> &mut Self

source

pub fn fg_default(&mut self) -> &mut Self

source

pub fn bg_black(&mut self) -> &mut Self

source

pub fn bg_red(&mut self) -> &mut Self

source

pub fn bg_green(&mut self) -> &mut Self

source

pub fn bg_yellow(&mut self) -> &mut Self

source

pub fn bg_blue(&mut self) -> &mut Self

source

pub fn bg_magenta(&mut self) -> &mut Self

source

pub fn bg_cyan(&mut self) -> &mut Self

source

pub fn bg_gray(&mut self) -> &mut Self

source

pub fn bg_color(&mut self) -> &mut Self

source

pub fn bg_default(&mut self) -> &mut Self

source

pub fn frame(&mut self) -> &mut Self

source

pub fn encircle(&mut self) -> &mut Self

source

pub fn overline(&mut self) -> &mut Self

source

pub fn not_frame_not_encircle(&mut self) -> &mut Self

source

pub fn not_overline(&mut self) -> &mut Self

source

pub fn ideogram_underline(&mut self) -> &mut Self

source

pub fn ideogram_double_underline(&mut self) -> &mut Self

source

pub fn ideogram_overline(&mut self) -> &mut Self

source

pub fn ideogram_double_overline(&mut self) -> &mut Self

source

pub fn ideogram_stress_marking(&mut self) -> &mut Self

source

pub fn ideogram_cancel(&mut self) -> &mut Self

source

pub fn get(&self) -> ControlSequence

Trait Implementations§

source§

impl Clone for GraphicSelection

source§

fn clone(&self) -> GraphicSelection

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Display for GraphicSelection

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.