Struct 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 duplicate of the value. Read more
1.0.0 · Source§

const 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, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. 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§

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.