cosmic::iced_widget::pane_grid

Trait Draggable

source
pub trait Draggable {
    // Required method
    fn can_be_dragged_at(&self, layout: Layout<'_>, cursor: Point) -> bool;
}
Expand description

A pane that can be dragged.

Required Methods§

source

fn can_be_dragged_at(&self, layout: Layout<'_>, cursor: Point) -> bool

Returns whether the Draggable with the given Layout can be picked at the provided cursor position.

Implementors§

source§

impl<'a, Message, Theme, Renderer> Draggable for &Content<'a, Message, Theme, Renderer>
where Theme: Catalog, Renderer: Renderer,