Struct bear_lib_terminal::terminal::config::Input
[−]
[src]
pub struct Input { /* fields omitted */ }
The input
configuration section repr.
None
values will not override current ones.
See terminal::set()
.
Methods
impl Input
[src]
fn empty() -> Input
Construct an input
configuration section override segment
with all elements equal to None
.
fn precise_mouse(self, precise_mouse: bool) -> Self
Whether to generate a mouse-move event when a mouse moves from one pixel to another as opposed to from one cell to another.
Default: false
.
fn mouse_cursor(self, mouse_cursor: bool) -> Self
Whether to show the cursor.
Default: true
.
fn cursor_symbol(self, cursor_symbol: char) -> Self
The cursor symbol to blink in the read string function.
Default: '_'
a.k.a. 0x5F
.
fn cursor_blink_rate(self, cursor_blink_rate: i32) -> Self
Amount of time in milliseconds to blink the cursor symbol for.
Default: 500
.
Trait Implementations
impl Clone for Input
[src]
fn clone(&self) -> Input
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for Input
[src]
impl Eq for Input
[src]
impl PartialEq for Input
[src]
fn eq(&self, __arg_0: &Input) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Input) -> bool
This method tests for !=
.
impl Hash for Input
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more