Enum tty_interface::mode::RenderMode
source · [−]pub enum RenderMode {
Relative,
Full,
}Expand description
How the interface should be rendered to the terminal.
Variants
Relative
Appends the interface to the existing buffer content. Attempts to preserve the existing buffer content, but this may not handle terminal resizes well.
Full
Assumes full control of the terminal, clearing all existing content in the viewport.
Trait Implementations
sourceimpl Clone for RenderMode
impl Clone for RenderMode
sourcefn clone(&self) -> RenderMode
fn clone(&self) -> RenderMode
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for RenderMode
impl Debug for RenderMode
sourceimpl Default for RenderMode
impl Default for RenderMode
sourceimpl PartialEq<RenderMode> for RenderMode
impl PartialEq<RenderMode> for RenderMode
impl Copy for RenderMode
impl Eq for RenderMode
impl StructuralEq for RenderMode
impl StructuralPartialEq for RenderMode
Auto Trait Implementations
impl RefUnwindSafe for RenderMode
impl Send for RenderMode
impl Sync for RenderMode
impl Unpin for RenderMode
impl UnwindSafe for RenderMode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more