pub enum SplitterEvent {
Idle,
Drag(f64),
Released,
}Expand description
What a frame of the splitter yields.
Variants§
Idle
Not dragging.
Drag(f64)
Dragging: the pointer coordinate along the axis.
Released
The drag ended this frame (persist the size now).
Trait Implementations§
Source§impl Clone for SplitterEvent
impl Clone for SplitterEvent
impl Copy for SplitterEvent
Source§impl Debug for SplitterEvent
impl Debug for SplitterEvent
Source§impl PartialEq for SplitterEvent
impl PartialEq for SplitterEvent
impl StructuralPartialEq for SplitterEvent
Auto Trait Implementations§
impl Forget for SplitterEvent
impl Freeze for SplitterEvent
impl RefUnwindSafe for SplitterEvent
impl Send for SplitterEvent
impl Sync for SplitterEvent
impl Unpin for SplitterEvent
impl UnsafeUnpin for SplitterEvent
impl UnwindSafe for SplitterEvent
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