pub enum SelectionStatus {
Uncollapsed,
Collapsed,
None,
}Expand description
The status of a selection: whether there is one and whether it is collapsed.
Variants§
Uncollapsed
The selection is not collapsed.
Collapsed
The selection starts and ends at the same location.
None
No selection.
Trait Implementations§
Source§impl Clone for SelectionStatus
impl Clone for SelectionStatus
impl Copy for SelectionStatus
Source§impl Debug for SelectionStatus
impl Debug for SelectionStatus
impl Eq for SelectionStatus
Source§impl PartialEq for SelectionStatus
impl PartialEq for SelectionStatus
impl StructuralPartialEq for SelectionStatus
Auto Trait Implementations§
impl Forget for SelectionStatus
impl Freeze for SelectionStatus
impl Move for SelectionStatus
impl RefUnwindSafe for SelectionStatus
impl Send for SelectionStatus
impl Sync for SelectionStatus
impl Unpin for SelectionStatus
impl UnsafeUnpin for SelectionStatus
impl UnwindSafe for SelectionStatus
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.