#[non_exhaustive]#[repr(usize)]pub enum SpecialCharacterIndices {
Show 16 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,
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
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
)