iced-yoda/native/src/widget/pane_grid/split.rs
Héctor Ramón Jiménez e7344d03b4 Use BTreeMap for splits and regions in pane_grid
This preserves ordering between calls to update and draw logic.
2021-01-07 21:07:44 +01:00

5 lines
229 B
Rust

/// A divider that splits a region in a [`PaneGrid`] into two different panes.
///
/// [`PaneGrid`]: crate::widget::PaneGrid
#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
pub struct Split(pub(super) usize);