pub enum QuitAtEof {
Off,
Second,
First,
}Expand description
Controls auto-exit on end-of-file. Off (default) never quits.
Second (less -e) quits on the second forward-motion that lands at
EOF in a row. First (less -E) quits the moment a forward motion
lands at EOF.
Variants§
Trait Implementations§
impl Copy for QuitAtEof
impl Eq for QuitAtEof
impl StructuralPartialEq for QuitAtEof
Auto Trait Implementations§
impl Freeze for QuitAtEof
impl RefUnwindSafe for QuitAtEof
impl Send for QuitAtEof
impl Sync for QuitAtEof
impl Unpin for QuitAtEof
impl UnsafeUnpin for QuitAtEof
impl UnwindSafe for QuitAtEof
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.