diff options
author | 2023-01-04 19:31:37 +0100 | |
---|---|---|
committer | 2023-01-04 19:31:37 +0100 | |
commit | b5e4e0e2f52a1c329214a9a00f03f0ab0992fdb6 (patch) | |
tree | ecece8ff90413eac87d298b6e38555e00f26f621 /native | |
parent | e7f06af873d9622ddd179bd5165ddeec52e39d97 (diff) | |
parent | b2c81c163d5cb17c3931db1a807c788b19f4b7c0 (diff) | |
download | iced-b5e4e0e2f52a1c329214a9a00f03f0ab0992fdb6.tar.gz iced-b5e4e0e2f52a1c329214a9a00f03f0ab0992fdb6.tar.bz2 iced-b5e4e0e2f52a1c329214a9a00f03f0ab0992fdb6.zip |
Merge pull request #1635 from tarkah/fix/pub-count-fields
Make count fields pub
Diffstat (limited to '')
-rw-r--r-- | native/src/widget/operation/focusable.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/native/src/widget/operation/focusable.rs b/native/src/widget/operation/focusable.rs index 0067006b..312e4894 100644 --- a/native/src/widget/operation/focusable.rs +++ b/native/src/widget/operation/focusable.rs @@ -18,10 +18,10 @@ pub trait Focusable { #[derive(Debug, Clone, Copy, PartialEq, Eq, Default)] pub struct Count { /// The index of the current focused widget, if any. - focused: Option<usize>, + pub focused: Option<usize>, /// The total amount of focusable widgets. - total: usize, + pub total: usize, } /// Produces an [`Operation`] that focuses the widget with the given [`Id`]. |