pub struct ResultsConfig {Show 16 fields
pub multi_prefix: String,
pub default_prefix: String,
pub reverse: Option<bool>,
pub border: BorderSetting,
pub result_fg: Color,
pub current_fg: Color,
pub current_bg: Color,
pub match_fg: Color,
pub count_fg: Color,
pub current_modifier: Modifier,
pub count_modifier: Modifier,
pub title: String,
pub scroll_wrap: bool,
pub scroll_padding: u16,
pub column_spacing: Count,
pub current_prefix: String,
}Fields§
§multi_prefix: String§default_prefix: String§reverse: Option<bool>§border: BorderSetting§result_fg: Color§current_fg: Color§current_bg: Color§match_fg: Color§count_fg: Color§current_modifier: Modifier§count_modifier: Modifier§title: String§scroll_wrap: bool§scroll_padding: u16§column_spacing: Count§current_prefix: StringTrait 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§fn default() -> ResultsConfig
fn default() -> ResultsConfig
Returns the “default value” for a type. Read more
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
Auto Trait Implementations§
impl Freeze for ResultsConfig
impl RefUnwindSafe for ResultsConfig
impl Send for ResultsConfig
impl Sync for ResultsConfig
impl Unpin 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 more