[][src]Struct termorrow::ControlMode

pub struct ControlMode(_);

Implementations

impl ControlMode[src]

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

Send two stop bits, else one.

Gets the value for the flag.

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

Send two stop bits, else one.

Checks if this flag is the only one set.

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

Send two stop bits, else one.

Sets the flag to the given value.

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

Enable receiver.

Gets the value for the flag.

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

Enable receiver.

Checks if this flag is the only one set.

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

Enable receiver.

Sets the flag to the given value.

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

Parity enable.

Gets the value for the flag.

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

Parity enable.

Checks if this flag is the only one set.

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

Parity enable.

Sets the flag to the given value.

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

Odd parity, else even.

Gets the value for the flag.

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

Odd parity, else even.

Checks if this flag is the only one set.

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

Odd parity, else even.

Sets the flag to the given value.

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

Hang up on last close.

Gets the value for the flag.

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

Hang up on last close.

Checks if this flag is the only one set.

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

Hang up on last close.

Sets the flag to the given value.

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

Ignore modem status lines.

Gets the value for the flag.

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

Ignore modem status lines.

Checks if this flag is the only one set.

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

Ignore modem status lines.

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.