diff options
author | 2020-03-19 09:43:36 +0100 | |
---|---|---|
committer | 2020-03-19 09:43:36 +0100 | |
commit | 420275793e04b41254bacdaedd8ca60fb2ffe63f (patch) | |
tree | b5d7b0189c11539621fa272ae4fe806c434e7a81 /native/src/widget/pane_grid/state.rs | |
parent | bb898fa2e277d46642feec397efd753f133a0aae (diff) | |
download | iced-420275793e04b41254bacdaedd8ca60fb2ffe63f.tar.gz iced-420275793e04b41254bacdaedd8ca60fb2ffe63f.tar.bz2 iced-420275793e04b41254bacdaedd8ca60fb2ffe63f.zip |
Fix minor documentation issues in `pane_grid`
Diffstat (limited to 'native/src/widget/pane_grid/state.rs')
-rw-r--r-- | native/src/widget/pane_grid/state.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/native/src/widget/pane_grid/state.rs b/native/src/widget/pane_grid/state.rs index 6c80cacc..0e528d90 100644 --- a/native/src/widget/pane_grid/state.rs +++ b/native/src/widget/pane_grid/state.rs @@ -18,8 +18,9 @@ use std::collections::HashMap; /// /// [`PaneGrid`]: struct.PaneGrid.html /// [`PaneGrid::new`]: struct.PaneGrid.html#method.new -/// [`State`]: struct.State.html /// [`Pane`]: struct.Pane.html +/// [`Split`]: struct.Split.html +/// [`State`]: struct.State.html #[derive(Debug)] pub struct State<T> { pub(super) panes: HashMap<Pane, T>, @@ -28,6 +29,8 @@ pub struct State<T> { } /// The current focus of a [`Pane`]. +/// +/// [`Pane`]: struct.Pane.html #[derive(Debug, Clone, Copy, PartialEq, Eq)] pub enum Focus { /// The [`Pane`] is just focused. |