iced/native/src/widget/pane_grid/pane.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
217 B
Rust

/// A rectangular region in a [`PaneGrid`] used to display widgets.
///
/// [`PaneGrid`]: crate::widget::PaneGrid
#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
pub struct Pane(pub(super) usize);