pub struct TerminalCell {
pub grapheme: String,
pub fg: Option<Color>,
pub bg: Option<Color>,
pub bold: bool,
pub italic: bool,
pub underline: UnderlineStyle,
pub strikethrough: bool,
pub link: Option<String>,
}Fields§
§grapheme: String§fg: Option<Color>§bg: Option<Color>§bold: bool§italic: bool§underline: UnderlineStyle§strikethrough: bool§link: Option<String>Trait Implementations§
Source§impl Clone for TerminalCell
impl Clone for TerminalCell
Source§fn clone(&self) -> TerminalCell
fn clone(&self) -> TerminalCell
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TerminalCell
impl Debug for TerminalCell
Source§impl<'de> Deserialize<'de> for TerminalCell
impl<'de> Deserialize<'de> for TerminalCell
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for TerminalCell
impl RefUnwindSafe for TerminalCell
impl Send for TerminalCell
impl Sync for TerminalCell
impl Unpin for TerminalCell
impl UnsafeUnpin for TerminalCell
impl UnwindSafe for TerminalCell
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more