pub struct Style {
pub background: Background,
pub border: Border,
pub text_color: Color,
pub selected_text_color: Color,
pub selected_background: Background,
pub shadow: Shadow,
}Expand description
The appearance of a Menu.
Fields§
§background: BackgroundThe Background of the menu.
border: BorderThe Border of the menu.
text_color: ColorThe text Color of the menu.
selected_text_color: ColorThe text Color of a selected option in the menu.
selected_background: BackgroundThe background Color of a selected option in the menu.
shadow: ShadowThe Shadow of the menu.
Trait Implementations§
impl Copy for Style
impl StructuralPartialEq for Style
Auto Trait Implementations§
impl Freeze for Style
impl RefUnwindSafe for Style
impl Send for Style
impl Sync for Style
impl Unpin for Style
impl UnwindSafe for Style
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more