#[repr(u32)]pub enum InputReaderGranularity {
Invalid = 0,
Byte = 1,
Word = 2,
Line = 3,
All = 4,
}Variants§
Trait Implementations§
Source§impl Clone for InputReaderGranularity
impl Clone for InputReaderGranularity
Source§fn clone(&self) -> InputReaderGranularity
fn clone(&self) -> InputReaderGranularity
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 InputReaderGranularity
impl Debug for InputReaderGranularity
Source§impl PartialEq for InputReaderGranularity
impl PartialEq for InputReaderGranularity
Source§fn eq(&self, other: &InputReaderGranularity) -> bool
fn eq(&self, other: &InputReaderGranularity) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for InputReaderGranularity
impl PartialOrd for InputReaderGranularity
impl Copy for InputReaderGranularity
impl Eq for InputReaderGranularity
impl StructuralPartialEq for InputReaderGranularity
Auto Trait Implementations§
impl Freeze for InputReaderGranularity
impl RefUnwindSafe for InputReaderGranularity
impl Send for InputReaderGranularity
impl Sync for InputReaderGranularity
impl Unpin for InputReaderGranularity
impl UnsafeUnpin for InputReaderGranularity
impl UnwindSafe for InputReaderGranularity
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