pub struct LINUX_TERMIOS_IFLAG;
linux
only.Expand description
LinuxTermios
input flags.
Implementations§
Source§impl LINUX_TERMIOS_IFLAG
impl LINUX_TERMIOS_IFLAG
Sourcepub const BRKINT: c_uint = 2u32
pub const BRKINT: c_uint = 2u32
Signal interrupt on BREAK.
If IGNBRK
is set, a BREAK is ignored.
If it is not set but BRKINT
is set, then a BREAK causes the input and
output queues to be flushed, and if the terminal is the controlling
terminal of a foreground process group, it will cause a SIGINT
to be
sent to this foreground process group.
When neither IGNBRK
nor BRKINT
are set, a BREAK reads as a null byte
(‘\0’), except when PARMRK
is set, in which case it
reads as the sequence \377
\0
\0
.
Sourcepub const PARMRK: c_uint = 10u32
pub const PARMRK: c_uint = 10u32
Mark parity and framing errors.
If this bit is set, input bytes with parity or framing errors are marked when passed to the program.
This bit is meaningful only when INPCK
is set and
IGNPAR
is not set.
The way erroneous bytes are marked is with two preceding
bytes, \377
and \0
.
Thus, the program actually reads three bytes for one erroneous byte received from the terminal.
If a valid byte has the value \377
, and ISTRIP
is
not set, the program might confuse it with the prefix that marks a
parity error.
Therefore, a valid byte \377
is passed to the program as two bytes,
\377
\377
, in this case.
If neither IGNPAR
nor PARMRK
is set, read a character with a parity
error or framing error as \0
.
Sourcepub const ICRNL: c_uint = 400u32
pub const ICRNL: c_uint = 400u32
Translate CR to NL (carriage return to newline) on input
(unless IGNCR
is set).
Sourcepub const IUCLC: c_uint = 1_000u32
pub const IUCLC: c_uint = 1_000u32
Map uppercase characters to lowercase on input (not in POSIX).
Sourcepub const IXANY: c_uint = 4_000u32
pub const IXANY: c_uint = 4_000u32
(XSI) Typing any character will restart stopped output.
(The default is to allow just the START character to restart output.)
Auto Trait Implementations§
impl Freeze for LINUX_TERMIOS_IFLAG
impl RefUnwindSafe for LINUX_TERMIOS_IFLAG
impl Send for LINUX_TERMIOS_IFLAG
impl Sync for LINUX_TERMIOS_IFLAG
impl Unpin for LINUX_TERMIOS_IFLAG
impl UnwindSafe for LINUX_TERMIOS_IFLAG
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> ByteSized for T
impl<T> ByteSized for T
Source§const BYTE_ALIGN: usize = _
const BYTE_ALIGN: usize = _
Source§fn byte_align(&self) -> usize ⓘ
fn byte_align(&self) -> usize ⓘ
Source§fn ptr_size_ratio(&self) -> [usize; 2]
fn ptr_size_ratio(&self) -> [usize; 2]
Source§impl<T, R> Chain<R> for Twhere
T: ?Sized,
impl<T, R> Chain<R> for Twhere
T: ?Sized,
Source§impl<T> ExtAny for T
impl<T> ExtAny for T
Source§fn as_any_mut(&mut self) -> &mut dyn Anywhere
Self: Sized,
fn as_any_mut(&mut self) -> &mut dyn Anywhere
Self: Sized,
Source§impl<T> ExtMem for Twhere
T: ?Sized,
impl<T> ExtMem for Twhere
T: ?Sized,
Source§const NEEDS_DROP: bool = _
const NEEDS_DROP: bool = _
Source§fn mem_align_of_val(&self) -> usize ⓘ
fn mem_align_of_val(&self) -> usize ⓘ
Source§fn mem_size_of_val(&self) -> usize ⓘ
fn mem_size_of_val(&self) -> usize ⓘ
Source§fn mem_needs_drop(&self) -> bool
fn mem_needs_drop(&self) -> bool
true
if dropping values of this type matters. Read moreSource§fn mem_forget(self)where
Self: Sized,
fn mem_forget(self)where
Self: Sized,
self
without running its destructor. Read moreSource§fn mem_replace(&mut self, other: Self) -> Selfwhere
Self: Sized,
fn mem_replace(&mut self, other: Self) -> Selfwhere
Self: Sized,
Source§unsafe fn mem_zeroed<T>() -> T
unsafe fn mem_zeroed<T>() -> T
unsafe_layout
only.T
represented by the all-zero byte-pattern. Read moreSource§unsafe fn mem_transmute_copy<Src, Dst>(src: &Src) -> Dst
unsafe fn mem_transmute_copy<Src, Dst>(src: &Src) -> Dst
unsafe_layout
only.T
represented by the all-zero byte-pattern. Read moreSource§fn mem_as_bytes(&self) -> &[u8] ⓘ
fn mem_as_bytes(&self) -> &[u8] ⓘ
unsafe_slice
only.§impl<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
Source§impl<T> Hook for T
impl<T> Hook for T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more§impl<F, T> IntoSample<T> for Fwhere
T: FromSample<F>,
impl<F, T> IntoSample<T> for Fwhere
T: FromSample<F>,
fn into_sample(self) -> T
§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError> ⓘ
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError> ⓘ
§impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
§unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
§fn resolve_niched(out: Place<NichedOption<T, N1>>)
fn resolve_niched(out: Place<NichedOption<T, N1>>)
out
indicating that a T
is niched.