Struct linefeed::memory::MemoryWriteGuard
source · pub struct MemoryWriteGuard<'a>(_);
Expand description
Holds the lock on write operations of a MemoryTerminal
.
Trait Implementations
sourceimpl<'a> TerminalWriter<MemoryTerminal> for MemoryWriteGuard<'a>
impl<'a> TerminalWriter<MemoryTerminal> for MemoryWriteGuard<'a>
sourcefn clear_screen(&mut self) -> Result<()>
fn clear_screen(&mut self) -> Result<()>
Presents a clear terminal screen, with cursor at first row, first column. Read more
sourcefn clear_to_screen_end(&mut self) -> Result<()>
fn clear_to_screen_end(&mut self) -> Result<()>
Clears characters on the line occupied by the cursor, beginning with the
cursor and ending at the end of the line. Also clears all characters on
all lines after the cursor. Read more
sourcefn move_right(&mut self, n: usize) -> Result<()>
fn move_right(&mut self, n: usize) -> Result<()>
Moves the cursor right
n
cells; n
may be zero.sourcefn move_to_first_column(&mut self) -> Result<()>
fn move_to_first_column(&mut self) -> Result<()>
Moves the cursor to the first column of the current line
sourcefn set_cursor_mode(&mut self, mode: CursorMode) -> Result<()>
fn set_cursor_mode(&mut self, mode: CursorMode) -> Result<()>
Set the current cursor mode
Auto Trait Implementations
impl<'a> RefUnwindSafe for MemoryWriteGuard<'a>
impl<'a> !Send for MemoryWriteGuard<'a>
impl<'a> Sync for MemoryWriteGuard<'a>
impl<'a> Unpin for MemoryWriteGuard<'a>
impl<'a> UnwindSafe for MemoryWriteGuard<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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