[−]Struct atomsh::TERMINAL
Methods from Deref<Target = Terminal>
pub fn hide_cursor(&self)
[src]
pub fn show_cursor(&self)
[src]
pub fn enable_echo(&self)
[src]
pub fn disable_echo(&self)
[src]
pub fn enable_scrolling(&self)
[src]
pub fn disable_scrolling(&self)
[src]
pub fn get_key(&self) -> Option<Key>
[src]
pub fn set_input_timeout(&self, milliseconds: u32)
[src]
pub fn pause(&self)
[src]
pub fn resume(&self)
[src]
pub fn refresh(&self)
[src]
pub fn clear(&self)
[src]
pub fn move_print(&self, x: i32, y: i32, s: impl Into<ColorString>)
[src]
pub fn println(&self, s: impl Into<ColorString>)
[src]
pub fn print(&self, s: impl Into<ColorString>)
[src]
pub fn clear_current_line(&self)
[src]
pub fn move_cursor(&self, x: i32, y: i32)
[src]
pub fn get_size(&self) -> (i32, i32)
[src]
pub fn get_width(&self) -> i32
[src]
pub fn get_height(&self) -> i32
[src]
pub fn get_cursor(&self) -> (i32, i32)
[src]
pub fn get_cursor_x(&self) -> i32
[src]
pub fn get_cursor_y(&self) -> i32
[src]
pub fn quit(&self)
[src]
Trait Implementations
Auto Trait Implementations
impl Send for TERMINAL
impl Sync for TERMINAL
impl Unpin for TERMINAL
impl UnwindSafe for TERMINAL
impl RefUnwindSafe for TERMINAL
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self