1use crate::core::{Layout, Point};
23/// A pane that can be dragged.
4pub trait Draggable {
5/// Returns whether the [`Draggable`] with the given [`Layout`] can be picked
6 /// at the provided cursor position.
7fn can_be_dragged_at(&self, layout: Layout<'_>, cursor: Point) -> bool;
8}