pub enum SplitState {
Inactive,
Hover,
Drag,
DragNotFollowing,
}Expand description
Gets the state of split.
Variants§
Inactive
Split is inactive.
Hover
Mouse cursor is hovering above split.
Drag
User is dragging the split.
DragNotFollowing
User is dragging, but split is not following.
Trait Implementations§
Source§impl Clone for SplitState
impl Clone for SplitState
Source§fn clone(&self) -> SplitState
fn clone(&self) -> SplitState
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 moreimpl Copy for SplitState
Source§impl Debug for SplitState
impl Debug for SplitState
impl Eq for SplitState
Source§impl PartialEq for SplitState
impl PartialEq for SplitState
Source§fn eq(&self, other: &SplitState) -> bool
fn eq(&self, other: &SplitState) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SplitState
Auto Trait Implementations§
impl Freeze for SplitState
impl RefUnwindSafe for SplitState
impl Send for SplitState
impl Sync for SplitState
impl Unpin for SplitState
impl UnsafeUnpin for SplitState
impl UnwindSafe for SplitState
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