pub struct ResultsConfig {Show 21 fields
pub border: BorderSetting,
pub multi_prefix: String,
pub default_prefix: String,
pub fg: Color,
pub modifier: Modifier,
pub match_fg: Color,
pub match_modifier: Modifier,
pub current_fg: Color,
pub current_bg: Color,
pub current_modifier: Modifier,
pub row_connection_style: RowConnectionStyle,
pub scroll_wrap: bool,
pub scroll_padding: u16,
pub reverse: Option<bool>,
pub wrap: bool,
pub min_wrap_width: u16,
pub column_spacing: Count,
pub current_prefix: String,
pub right_align_last: bool,
pub stacked_columns: bool,
pub horizontal_separator: HorizontalSeparator,
}Fields§
§border: BorderSetting§multi_prefix: String§default_prefix: String§fg: Color§modifier: Modifier§match_fg: Color§match_modifier: Modifier§current_fg: Colorforeground of the current item.
current_bg: Colorbackground of the current item.
current_modifier: Modifiermodifier of the current item.
row_connection_style: RowConnectionStyleHow the current_* styles are applied across the row.
scroll_wrap: bool§scroll_padding: u16§reverse: Option<bool>§wrap: bool§min_wrap_width: u16§column_spacing: Count§current_prefix: String§right_align_last: bool§stacked_columns: bool§horizontal_separator: HorizontalSeparatorTrait Implementations§
Source§impl Clone for ResultsConfig
impl Clone for ResultsConfig
Source§fn clone(&self) -> ResultsConfig
fn clone(&self) -> ResultsConfig
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 ResultsConfig
impl Debug for ResultsConfig
Source§impl Default for ResultsConfig
impl Default for ResultsConfig
Source§impl<'de> Deserialize<'de> for ResultsConfigwhere
ResultsConfig: Default,
impl<'de> Deserialize<'de> for ResultsConfigwhere
ResultsConfig: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ResultsConfig
impl PartialEq for ResultsConfig
Source§impl Serialize for ResultsConfig
impl Serialize for ResultsConfig
impl StructuralPartialEq for ResultsConfig
Auto Trait Implementations§
impl Freeze for ResultsConfig
impl RefUnwindSafe for ResultsConfig
impl Send for ResultsConfig
impl Sync for ResultsConfig
impl Unpin for ResultsConfig
impl UnsafeUnpin for ResultsConfig
impl UnwindSafe for ResultsConfig
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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> TransformExt for T
impl<T> TransformExt for T
fn transform<Q>(self, transform: impl FnOnce(T) -> Q) -> Q
fn modify<Q>(self, modify: impl FnOnce(&mut T) -> Q) -> T
Source§fn modify_if<Q>(self, condition: bool, modify: impl FnOnce(&mut T) -> Q) -> T
fn modify_if<Q>(self, condition: bool, modify: impl FnOnce(&mut T) -> Q) -> T
Example Read more