Struct reedline::MenuTextStyle
source · pub struct MenuTextStyle {
pub selected_text_style: Style,
pub text_style: Style,
pub description_style: Style,
}Expand description
Struct to store the menu style
Fields§
§selected_text_style: StyleText style for selected text in a menu
text_style: StyleText style for not selected text in the menu
description_style: StyleText style for the item description
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for MenuTextStyle
impl Send for MenuTextStyle
impl Sync for MenuTextStyle
impl Unpin for MenuTextStyle
impl UnwindSafe for MenuTextStyle
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