Enum nix::sys::termios::SpecialCharacterIndices
source · #[non_exhaustive]#[repr(usize)]pub enum SpecialCharacterIndices {
Show 17 variants
VDISCARD = 13,
VEOF = 4,
VEOL = 11,
VEOL2 = 16,
VERASE = 2,
VINTR = 0,
VKILL = 3,
VLNEXT = 15,
VMIN = 6,
VQUIT = 1,
VREPRINT = 12,
VSTART = 8,
VSTOP = 9,
VSUSP = 10,
VSWTC = 7,
VTIME = 5,
VWERASE = 14,
}
Expand description
Indices into the termios.c_cc
array for special characters.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
VDISCARD = 13
VEOF = 4
VEOL = 11
VEOL2 = 16
VERASE = 2
VINTR = 0
VKILL = 3
VLNEXT = 15
VMIN = 6
VQUIT = 1
VREPRINT = 12
VSTART = 8
VSTOP = 9
VSUSP = 10
VSWTC = 7
VTIME = 5
VWERASE = 14
Trait Implementations§
source§impl Clone for SpecialCharacterIndices
impl Clone for SpecialCharacterIndices
source§fn clone(&self) -> SpecialCharacterIndices
fn clone(&self) -> SpecialCharacterIndices
Returns a copy 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 moresource§impl Debug for SpecialCharacterIndices
impl Debug for SpecialCharacterIndices
source§impl Hash for SpecialCharacterIndices
impl Hash for SpecialCharacterIndices
source§impl Ord for SpecialCharacterIndices
impl Ord for SpecialCharacterIndices
source§fn cmp(&self, other: &SpecialCharacterIndices) -> Ordering
fn cmp(&self, other: &SpecialCharacterIndices) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for SpecialCharacterIndices
impl PartialEq for SpecialCharacterIndices
source§impl PartialOrd for SpecialCharacterIndices
impl PartialOrd for SpecialCharacterIndices
impl Copy for SpecialCharacterIndices
impl Eq for SpecialCharacterIndices
impl StructuralPartialEq for SpecialCharacterIndices
Auto Trait Implementations§
impl Freeze for SpecialCharacterIndices
impl RefUnwindSafe for SpecialCharacterIndices
impl Send for SpecialCharacterIndices
impl Sync for SpecialCharacterIndices
impl Unpin for SpecialCharacterIndices
impl UnwindSafe for SpecialCharacterIndices
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)