Struct pty_proc::shell::display::character::Character
[−]
[src]
#[repr(C)]pub struct Character { /* fields omitted */ }
Methods
impl Character
[src]
pub fn is_enter(&self) -> bool
[src]
pub fn is_space(&self) -> bool
[src]
pub fn is_null(&self) -> bool
[src]
pub fn is_bold(&self) -> bool
[src]
pub fn is_dim(&self) -> bool
[src]
pub fn is_italic(&self) -> bool
[src]
pub fn is_underline(&self) -> bool
[src]
pub fn is_blink(&self) -> bool
[src]
pub fn is_reverse(&self) -> bool
[src]
[src]
pub fn get_attribute(&self) -> u8
[src]
pub fn get_foreground(&self) -> [c_uchar; 3]
[src]
pub fn get_background(&self) -> [c_uchar; 3]
[src]
pub fn get_glyph(&self) -> char
[src]
pub fn set_foreground(&mut self, fore: [c_uchar; 3])
[src]
pub fn set_background(&mut self, back: [c_uchar; 3])
[src]
pub fn add_attribute(&mut self, attr: Attribute)
[src]
pub fn sub_attribute(&mut self, attr: Attribute)
[src]
pub fn set_attribute(&mut self, attr: Attribute)
[src]
pub fn set_attribute_from_u8(&mut self, attr: u8)
[src]
pub fn set_glyph(&mut self, glyph: char)
[src]
pub fn clear(&mut self)
[src]
The method clear
resets the term character.
Trait Implementations
impl Clone for Character
[src]
fn clone(&self) -> Character
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for Character
[src]
impl Debug for Character
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Eq for Character
[src]
impl PartialEq for Character
[src]
fn eq(&self, __arg_0: &Character) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Character) -> bool
[src]
This method tests for !=
.
impl Display for Character
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more