[−][src]Struct file_descriptors::terminal::CanonicalSettings
Abstracts the canonical settings of a terminal.
Fields
convert_uppercase_to_lowercase: bool
If set, the terminal is assumed to be uppercase only, and all input is converted to lowercase.
To input an uppercase character, precede it with a backslash. Similarly, an uppercase character is output by the system by being preceded by a backslash.
This option flag is obsolete today, since most, if not all, uppercase-only terminals have disappeared.
Equivalent to the XCASE
flag.
echo_erase: bool
If set then the ERASE
character erases the last character in the current line from the display.
This is usually done in the terminal driver by writing the three-character sequence 'backspace, space, backspace'.
If the word erase, WERASE
, character is supported then this setting causes the previous word to be erased using one or more of the same three-character sequence when WERASE
is received.
This occurs irrespective of whether the terminal has been set to echo its input.
Equivalent to the ECHOE
flag.
echo_new_line: bool
If set then the new line, NL
, character is echoed.
This occurs irrespective of whether the terminal has been set to echo its input.
Equivalent to the ECHONL
flag.
external_processing: bool
If set, canonical character processing is performed external to the operating system.
This can be the case if the serial communication peripheral card can offload the host processor by doing some of the line discipline processing.
Equivalent to the EXTPROC
flag.
print_before_erase: bool
If set then the ERASE
character (and WERASE
character, if supported) will cause all the characters being erased to be printed as they are erased.
This is often useful on a hard-copy terminal to see exactly which characters are being deleted.
Setting this flag will force echo to be on, overriding Echo::Off
.
Equivalent to the ECHOPRT
flag.
echo_kill_character: CanonicalEchoKillCharacter
Different choices for echoing the KILL
character.
Trait Implementations
impl Eq for CanonicalSettings
[src]
impl Clone for CanonicalSettings
[src]
fn clone(&self) -> CanonicalSettings
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for CanonicalSettings
[src]
impl PartialOrd<CanonicalSettings> for CanonicalSettings
[src]
fn partial_cmp(&self, other: &CanonicalSettings) -> Option<Ordering>
[src]
fn lt(&self, other: &CanonicalSettings) -> bool
[src]
fn le(&self, other: &CanonicalSettings) -> bool
[src]
fn gt(&self, other: &CanonicalSettings) -> bool
[src]
fn ge(&self, other: &CanonicalSettings) -> bool
[src]
impl PartialEq<CanonicalSettings> for CanonicalSettings
[src]
fn eq(&self, other: &CanonicalSettings) -> bool
[src]
fn ne(&self, other: &CanonicalSettings) -> bool
[src]
impl Ord for CanonicalSettings
[src]
fn cmp(&self, other: &CanonicalSettings) -> Ordering
[src]
fn max(self, other: Self) -> Self
1.21.0[src]
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.21.0[src]
Compares and returns the minimum of two values. Read more
impl Hash for CanonicalSettings
[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,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Debug for CanonicalSettings
[src]
Auto Trait Implementations
impl Send for CanonicalSettings
impl Sync for CanonicalSettings
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
try_from
)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> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,