pub struct MenuOptions {
pub style_selected: Style,
pub style_normal: Style,
pub key: fn(_: Key, _: &mut Menu) -> Event,
pub start: fn(),
}Fields§
§style_selected: Style§style_normal: Style§key: fn(_: Key, _: &mut Menu) -> Event§start: fn()Trait Implementations§
Auto Trait Implementations§
impl Freeze for MenuOptions
impl RefUnwindSafe for MenuOptions
impl Send for MenuOptions
impl Sync for MenuOptions
impl Unpin for MenuOptions
impl UnwindSafe for MenuOptions
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