Make fields of Style structs public
This commit is contained in:
parent
833538ee7f
commit
e11776055d
2 changed files with 4 additions and 4 deletions
|
|
@ -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> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue