[−][src]Enum terminal::Action
An action that can be performed on the terminal.
To perform an Action use Terminal::act.
Variants
Moves the terminal cursor to the given position (column, row).
Hides the terminal cursor.
Shows the terminal cursor.
Enables blinking of the terminal cursor.
Disables blinking of the terminal cursor.
ClearTerminal(Clear)
Clears the terminal screen buffer.
Sets the terminal size (columns, rows).
ScrollUp(u16)
Scrolls the terminal screen a given number of rows up.
ScrollDown(u16)
Scrolls the terminal screen a given number of rows down.
Enables raw mode.
Disables raw mode.
Switches to alternate screen.
Switches back to the main screen.
Enables mouse event capturing.
Disables mouse event capturing.
SetForegroundColor(Color)
Sets the the foreground color.
SetBackgroundColor(Color)
Sets the the background color.
SetAttribute(Attribute)
Sets an attribute.
Resets the colors back to default.
Trait Implementations
impl Clone for Action
[src]
impl Copy for Action
[src]
impl Debug for Action
[src]
impl Eq for Action
[src]
impl From<Action> for String
[src]
impl Hash for Action
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for Action
[src]
fn cmp(&self, other: &Action) -> Ordering
[src]
fn max(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
1.21.0[src]
fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<Action> for Action
[src]
impl PartialOrd<Action> for Action
[src]
fn partial_cmp(&self, other: &Action) -> Option<Ordering>
[src]
fn lt(&self, other: &Action) -> bool
[src]
fn le(&self, other: &Action) -> bool
[src]
fn gt(&self, other: &Action) -> bool
[src]
fn ge(&self, other: &Action) -> bool
[src]
impl StructuralEq for Action
[src]
impl StructuralPartialEq for Action
[src]
Auto Trait Implementations
impl RefUnwindSafe for Action
impl Send for Action
impl Sync for Action
impl Unpin for Action
impl UnwindSafe for Action
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
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> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
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>,