Struct nc::types::ktermios_t[][src]

#[repr(C)]
pub struct ktermios_t { pub c_iflag: tcflag_t, pub c_oflag: tcflag_t, pub c_cflag: tcflag_t, pub c_lflag: tcflag_t, pub c_line: cc_t, pub c_cc: [cc_t; 19], pub c_ispeed: speed_t, pub c_ospeed: speed_t, }

Fields

c_iflag: tcflag_t

input mode flags

c_oflag: tcflag_t

output mode flags

c_cflag: tcflag_t

control mode flags

c_lflag: tcflag_t

local mode flags

c_line: cc_t

line discipline

c_cc: [cc_t; 19]

control characters

c_ispeed: speed_t

input speed

c_ospeed: speed_t

output speed

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. 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.