Struct glerminal::text_buffer::TermCharacter
[−]
[src]
pub struct TermCharacter { /* fields omitted */ }
Represents a single character in a TextBuffer
Methods
impl TermCharacter
[src]
pub fn get_char(&self) -> char
[src]
Gets the char in the TermCharacter
pub fn get_fg_color(&self) -> Color
[src]
Gets the foreground Color in the TermCharacter
pub fn get_bg_color(&self) -> Color
[src]
Gets the background Color in the TermCharacter
pub fn get_shakiness(&self) -> f32
[src]
Gets the shakiness of the TermCharacter, where shakiness is a value from 0.0 to 1.0 (other values are accepted, but these are suggested).
Trait Implementations
impl Clone for TermCharacter
[src]
fn clone(&self) -> TermCharacter
[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