pub struct ResultsConfig {Show 25 fields
pub border: BorderSetting,
pub multi_prefix: String,
pub default_prefix: String,
pub multi: bool,
pub style: StyleSetting,
pub inactive: StyleSetting,
pub inactive_current: StyleSetting,
pub match_style: StyleSetting,
pub current: StyleSetting,
pub row_connection: RowConnectionStyle,
pub scroll_wrap: bool,
pub scroll_padding: u16,
pub reverse: Option<bool>,
pub wrap: bool,
pub min_wrap_width: u16,
pub autoscroll: AutoscrollSettings,
pub column_spacing: Count,
pub current_prefix: String,
pub max_height: usize,
pub show_skipped: bool,
pub vscroll_current_only: bool,
pub right_align_last: bool,
pub stacked_columns: bool,
pub separator: HorizontalSeparator,
pub separator_style: StyleSetting,
}Fields§
§border: BorderSetting§multi_prefix: String§default_prefix: String§multi: boolEnable selections
style: StyleSetting§inactive: StyleSetting§inactive_current: StyleSetting§match_style: StyleSetting§current: StyleSettingcurrent item style
row_connection: RowConnectionStyleHow the styles are applied across the row: Disjoint: Styles are applied per column. Capped: The inactive styles are applied per row, and the active styles applied on the active column. Full: Inactive column styles are ignored, the current style is applied on the current row.
scroll_wrap: bool§scroll_padding: u16§reverse: Option<bool>§wrap: bool§min_wrap_width: u16§autoscroll: AutoscrollSettings§column_spacing: Count§current_prefix: String§max_height: usizeMaximum row height. VScroll/Preview can still be used to view the whole result.
show_skipped: bool§vscroll_current_only: boolAlways false if max_height is set
right_align_last: bool§stacked_columns: bool§separator: HorizontalSeparator§separator_style: StyleSettingTrait 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