Enum modalkit::editing::history::ScrollbackState
source · pub enum ScrollbackState {
Pending,
Typed,
Empty,
}
Expand description
Current status of scrolling through a prompt’s previous values.
Variants§
Pending
User has not yet started scrolling through history.
Typed
User started scrolling through history after typing something.
Empty
User started scrolling through history without typing anything.
Trait Implementations§
source§impl Clone for ScrollbackState
impl Clone for ScrollbackState
source§fn clone(&self) -> ScrollbackState
fn clone(&self) -> ScrollbackState
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 ScrollbackState
impl Debug for ScrollbackState
source§impl PartialEq for ScrollbackState
impl PartialEq for ScrollbackState
source§fn eq(&self, other: &ScrollbackState) -> bool
fn eq(&self, other: &ScrollbackState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ScrollbackState
impl Eq for ScrollbackState
impl StructuralPartialEq for ScrollbackState
Auto Trait Implementations§
impl Freeze for ScrollbackState
impl RefUnwindSafe for ScrollbackState
impl Send for ScrollbackState
impl Sync for ScrollbackState
impl Unpin for ScrollbackState
impl UnwindSafe for ScrollbackState
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