Struct ratatui::terminal::TerminalOptions
source · pub struct TerminalOptions {
pub viewport: Viewport,
}
Expand description
Options to pass to Terminal::with_options
Fields§
§viewport: Viewport
Viewport used to draw to the terminal
Trait Implementations§
source§impl Clone for TerminalOptions
impl Clone for TerminalOptions
source§fn clone(&self) -> TerminalOptions
fn clone(&self) -> TerminalOptions
Returns a copy 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 TerminalOptions
impl Debug for TerminalOptions
source§impl PartialEq<TerminalOptions> for TerminalOptions
impl PartialEq<TerminalOptions> for TerminalOptions
source§fn eq(&self, other: &TerminalOptions) -> bool
fn eq(&self, other: &TerminalOptions) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for TerminalOptions
impl StructuralEq for TerminalOptions
impl StructuralPartialEq for TerminalOptions
Auto Trait Implementations§
impl RefUnwindSafe for TerminalOptions
impl Send for TerminalOptions
impl Sync for TerminalOptions
impl Unpin for TerminalOptions
impl UnwindSafe for TerminalOptions
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