pub struct CellCapture {
pub row: u16,
pub column: u16,
pub text: String,
pub foreground: TerminalColor,
pub background: TerminalColor,
pub bold: bool,
pub italic: bool,
pub underline: bool,
pub inverse: bool,
pub wide: bool,
pub wide_continuation: bool,
}Expand description
One typed cell from a requested capture rectangle.
Fields§
§row: u16Zero-based row.
column: u16Zero-based column.
text: StringCell text, including combining characters when present.
foreground: TerminalColorForeground color.
background: TerminalColorBackground color.
bold: boolBold attribute.
italic: boolItalic attribute.
underline: boolUnderline attribute.
inverse: boolInverse-video attribute.
wide: boolWhether this cell contains a wide character.
wide_continuation: boolWhether this cell is the continuation half of a wide character.
Trait Implementations§
Source§impl Clone for CellCapture
impl Clone for CellCapture
Source§fn clone(&self) -> CellCapture
fn clone(&self) -> CellCapture
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CellCapture
impl Debug for CellCapture
impl Eq for CellCapture
Source§impl PartialEq for CellCapture
impl PartialEq for CellCapture
Source§impl Serialize for CellCapture
impl Serialize for CellCapture
impl StructuralPartialEq for CellCapture
Auto Trait Implementations§
impl Freeze for CellCapture
impl RefUnwindSafe for CellCapture
impl Send for CellCapture
impl Sync for CellCapture
impl Unpin for CellCapture
impl UnsafeUnpin for CellCapture
impl UnwindSafe for CellCapture
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.