Struct os::fs::dev::tty::Termios

source · []
#[repr(C)]
pub struct Termios { pub iflag: u32, pub oflag: u32, pub cflag: u32, pub lflag: u32, pub line: u8, pub cc: [u8; 32], pub ispeed: u32, pub ospeed: u32, }
Expand description

The termios functions describe a general terminal interface that is provided to control asynchronous communications ports.

Fields

iflag: u32

input modes

oflag: u32

ouput modes

cflag: u32

control modes

lflag: u32

local modes

line: u8cc: [u8; 32]

terminal special characters.

ispeed: u32ospeed: u32

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.