pub struct ChoiceStyle {Show 15 fields
pub style: Style,
pub button: Option<Style>,
pub select: Option<Style>,
pub focus: Option<Style>,
pub block: Option<Block<'static>>,
pub popup: PopupStyle,
pub popup_style: Option<Style>,
pub popup_border: Option<Style>,
pub popup_scroll: Option<ScrollStyle>,
pub popup_block: Option<Block<'static>>,
pub popup_len: Option<u16>,
pub behave_focus: Option<ChoiceFocus>,
pub behave_select: Option<ChoiceSelect>,
pub behave_close: Option<ChoiceClose>,
pub non_exhaustive: NonExhaustive,
}Expand description
Combined style.
Fields§
§style: Style§select: Option<Style>§focus: Option<Style>§block: Option<Block<'static>>§popup: PopupStyle§popup_style: Option<Style>§popup_border: Option<Style>§popup_scroll: Option<ScrollStyle>§popup_block: Option<Block<'static>>§popup_len: Option<u16>§behave_focus: Option<ChoiceFocus>§behave_select: Option<ChoiceSelect>§behave_close: Option<ChoiceClose>§non_exhaustive: NonExhaustiveTrait Implementations§
Source§impl Clone for ChoiceStyle
impl Clone for ChoiceStyle
Source§fn clone(&self) -> ChoiceStyle
fn clone(&self) -> ChoiceStyle
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ChoiceStyle
impl Debug for ChoiceStyle
Auto Trait Implementations§
impl Freeze for ChoiceStyle
impl RefUnwindSafe for ChoiceStyle
impl Send for ChoiceStyle
impl Sync for ChoiceStyle
impl Unpin for ChoiceStyle
impl UnwindSafe for ChoiceStyle
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more