Struct tty_interface::config::Configuration
source · [−]pub struct Configuration { /* private fields */ }Expand description
Options for an interface’s behavior.
Implementations
sourceimpl Configuration
impl Configuration
sourcepub fn new(cursor_mode: CursorMode, render_mode: RenderMode) -> Self
pub fn new(cursor_mode: CursorMode, render_mode: RenderMode) -> Self
Create a new, immutable configuration.
sourcepub fn cursor_mode(&self) -> CursorMode
pub fn cursor_mode(&self) -> CursorMode
This configuration’s cursor movement mode.
sourcepub fn render_mode(&self) -> RenderMode
pub fn render_mode(&self) -> RenderMode
This configuration’s terminal rendering mode.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Configuration
impl Send for Configuration
impl Sync for Configuration
impl Unpin for Configuration
impl UnwindSafe for Configuration
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