diff options
author | 2023-01-04 09:50:56 -0800 | |
---|---|---|
committer | 2023-01-04 09:50:56 -0800 | |
commit | b2c81c163d5cb17c3931db1a807c788b19f4b7c0 (patch) | |
tree | a310b276eff2f29203c91ad5e7a02f5f428e86fe /native/src/widget/operation/focusable.rs | |
parent | f641e20f7fb43932bb30776c607fe3745311ccd6 (diff) | |
download | iced-b2c81c163d5cb17c3931db1a807c788b19f4b7c0.tar.gz iced-b2c81c163d5cb17c3931db1a807c788b19f4b7c0.tar.bz2 iced-b2c81c163d5cb17c3931db1a807c788b19f4b7c0.zip |
Make count fields pub
Diffstat (limited to 'native/src/widget/operation/focusable.rs')
-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`]. |