#[repr(C)]pub enum InputModes {
Show 15 variants
IGNBRK = 1,
BRKINT = 2,
IGNPAR = 4,
PARMRK = 8,
INPCK = 16,
ISTRIP = 32,
INLCR = 64,
IGNCR = 128,
ICRNL = 256,
IUCLC = 512,
IXON = 1_024,
IXANY = 2_048,
IXOFF = 4_096,
IMAXBEL = 8_192,
IUTF8 = 16_384,
}Expand description
All the const * are default values
of c_iflag.
Variants§
IGNBRK = 1
BRKINT = 2
IGNPAR = 4
PARMRK = 8
INPCK = 16
ISTRIP = 32
INLCR = 64
IGNCR = 128
ICRNL = 256
IUCLC = 512
IXON = 1_024
IXANY = 2_048
IXOFF = 4_096
IMAXBEL = 8_192
IUTF8 = 16_384
Trait Implementations§
Source§impl Clone for InputModes
impl Clone for InputModes
Source§fn clone(&self) -> InputModes
fn clone(&self) -> InputModes
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for InputModes
Auto Trait Implementations§
impl Freeze for InputModes
impl RefUnwindSafe for InputModes
impl Send for InputModes
impl Sync for InputModes
impl Unpin for InputModes
impl UnwindSafe for InputModes
Blanket Implementations§
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
Mutably borrows from an owned value. Read more