[][src]Struct termorrow::InputMode

pub struct InputMode(_);

Implementations

impl InputMode[src]

pub fn brkint(&self) -> bool[src]

Signal interrupt on break.

Gets the value for the flag.

pub fn only_brkint(&self) -> bool[src]

Signal interrupt on break.

Checks if this flag is the only one set.

pub fn set_brkint(&mut self, value: bool) -> &Self[src]

Signal interrupt on break.

Sets the flag to the given value.

pub fn icrnl(&self) -> bool[src]

Map CR to NL on input.

Gets the value for the flag.

pub fn only_icrnl(&self) -> bool[src]

Map CR to NL on input.

Checks if this flag is the only one set.

pub fn set_icrnl(&mut self, value: bool) -> &Self[src]

Map CR to NL on input.

Sets the flag to the given value.

pub fn ignbrk(&self) -> bool[src]

Ignore break condition.

Gets the value for the flag.

pub fn only_ignbrk(&self) -> bool[src]

Ignore break condition.

Checks if this flag is the only one set.

pub fn set_ignbrk(&mut self, value: bool) -> &Self[src]

Ignore break condition.

Sets the flag to the given value.

pub fn igncr(&self) -> bool[src]

Ignore CR

Gets the value for the flag.

pub fn only_igncr(&self) -> bool[src]

Ignore CR

Checks if this flag is the only one set.

pub fn set_igncr(&mut self, value: bool) -> &Self[src]

Ignore CR

Sets the flag to the given value.

pub fn ignpar(&self) -> bool[src]

Ignore characters with parity errors.

Gets the value for the flag.

pub fn only_ignpar(&self) -> bool[src]

Ignore characters with parity errors.

Checks if this flag is the only one set.

pub fn set_ignpar(&mut self, value: bool) -> &Self[src]

Ignore characters with parity errors.

Sets the flag to the given value.

pub fn inlcr(&self) -> bool[src]

Map NL to CR on input.

Gets the value for the flag.

pub fn only_inlcr(&self) -> bool[src]

Map NL to CR on input.

Checks if this flag is the only one set.

pub fn set_inlcr(&mut self, value: bool) -> &Self[src]

Map NL to CR on input.

Sets the flag to the given value.

pub fn inpck(&self) -> bool[src]

Enable input parity check.

Gets the value for the flag.

pub fn only_inpck(&self) -> bool[src]

Enable input parity check.

Checks if this flag is the only one set.

pub fn set_inpck(&mut self, value: bool) -> &Self[src]

Enable input parity check.

Sets the flag to the given value.

pub fn istrip(&self) -> bool[src]

Strip character

Gets the value for the flag.

pub fn only_istrip(&self) -> bool[src]

Strip character

Checks if this flag is the only one set.

pub fn set_istrip(&mut self, value: bool) -> &Self[src]

Strip character

Sets the flag to the given value.

pub fn iuclc(&self) -> bool[src]

Map upper-case to lower-case on input (LEGACY).

Gets the value for the flag.

pub fn only_iuclc(&self) -> bool[src]

Map upper-case to lower-case on input (LEGACY).

Checks if this flag is the only one set.

pub fn set_iuclc(&mut self, value: bool) -> &Self[src]

Map upper-case to lower-case on input (LEGACY).

Sets the flag to the given value.

pub fn ixany(&self) -> bool[src]

Enable any character to restart output.

Gets the value for the flag.

pub fn only_ixany(&self) -> bool[src]

Enable any character to restart output.

Checks if this flag is the only one set.

pub fn set_ixany(&mut self, value: bool) -> &Self[src]

Enable any character to restart output.

Sets the flag to the given value.

pub fn ixoff(&self) -> bool[src]

Enable start/stop input control.

Gets the value for the flag.

pub fn only_ixoff(&self) -> bool[src]

Enable start/stop input control.

Checks if this flag is the only one set.

pub fn set_ixoff(&mut self, value: bool) -> &Self[src]

Enable start/stop input control.

Sets the flag to the given value.

pub fn ixon(&self) -> bool[src]

Enable start/stop output control.

Gets the value for the flag.

pub fn only_ixon(&self) -> bool[src]

Enable start/stop output control.

Checks if this flag is the only one set.

pub fn set_ixon(&mut self, value: bool) -> &Self[src]

Enable start/stop output control.

Sets the flag to the given value.

pub fn parmrk(&self) -> bool[src]

Mark parity errors.

Gets the value for the flag.

pub fn only_parmrk(&self) -> bool[src]

Mark parity errors.

Checks if this flag is the only one set.

pub fn set_parmrk(&mut self, value: bool) -> &Self[src]

Mark parity errors.

Sets the flag to the given value.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.