diff options
| author | 2024-03-07 20:13:29 +0100 | |
|---|---|---|
| committer | 2024-03-07 20:13:29 +0100 | |
| commit | e11776055dd6c79298c17e00a86ba43aba917bba (patch) | |
| tree | 17b201ee2469ba8e4926bbf8900567831a25dcf7 /widget/src/overlay | |
| parent | 833538ee7f3a60a839304762dfc29b0881d19094 (diff) | |
| download | iced-e11776055dd6c79298c17e00a86ba43aba917bba.tar.gz iced-e11776055dd6c79298c17e00a86ba43aba917bba.tar.bz2 iced-e11776055dd6c79298c17e00a86ba43aba917bba.zip  | |
Make fields of `Style` structs public
Diffstat (limited to 'widget/src/overlay')
| -rw-r--r-- | widget/src/overlay/menu.rs | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/widget/src/overlay/menu.rs b/widget/src/overlay/menu.rs index 3ed26b7d..e855fc14 100644 --- a/widget/src/overlay/menu.rs +++ b/widget/src/overlay/menu.rs @@ -602,9 +602,9 @@ pub struct Appearance {  #[derive(Debug, PartialEq, Eq)]  pub struct Style<Theme> {      /// The style of the list of the [`Menu`]. -    list: fn(&Theme) -> Appearance, +    pub list: fn(&Theme) -> Appearance,      /// The style of the [`Scrollable`] of the [`Menu`]. -    scrollable: fn(&Theme, scrollable::Status) -> scrollable::Appearance, +    pub scrollable: fn(&Theme, scrollable::Status) -> scrollable::Appearance,  }  impl Style<Theme> {  | 
