pub struct TerminalWidget {
pub rect: UiRect,
pub title: String,
pub fg: RgbColor,
pub bg: RgbColor,
pub border: RgbColor,
pub max_lines: usize,
/* private fields */
}Fields§
§rect: UiRect§title: String§fg: RgbColor§bg: RgbColor§border: RgbColor§max_lines: usizeImplementations§
Source§impl TerminalWidget
impl TerminalWidget
Sourcepub fn push_ansi_line(&mut self, text: &str)
pub fn push_ansi_line(&mut self, text: &str)
Performs the push ansi line operation.
Trait Implementations§
Source§impl Clone for TerminalWidget
impl Clone for TerminalWidget
Source§fn clone(&self) -> TerminalWidget
fn clone(&self) -> TerminalWidget
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 moreAuto Trait Implementations§
impl Freeze for TerminalWidget
impl RefUnwindSafe for TerminalWidget
impl Send for TerminalWidget
impl Sync for TerminalWidget
impl Unpin for TerminalWidget
impl UnsafeUnpin for TerminalWidget
impl UnwindSafe for TerminalWidget
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more