pub struct SymbolSearchConfig {
pub show_exchange: bool,
pub show_description: bool,
pub max_results: usize,
pub min_search_len: usize,
}Expand description
Configuration for symbol search dialog
Customize the behavior and appearance of the symbol search.
§Example
use egui_charts::ui::top_toolbar::SymbolSearchConfig;
let config = SymbolSearchConfig {
show_exchange: true,
show_description: true,
max_results: 50,
min_search_len: 2,
};Fields§
§show_exchange: boolShow exchange/desc information below symbol name
show_description: boolShow full symbol desc
max_results: usizeResults per service page, or the maximum displayed from the supplied list
min_search_len: usizeMin characters for a nonempty query; an empty query lists the catalog
Trait Implementations§
Source§impl Clone for SymbolSearchConfig
impl Clone for SymbolSearchConfig
Source§fn clone(&self) -> SymbolSearchConfig
fn clone(&self) -> SymbolSearchConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SymbolSearchConfig
impl Debug for SymbolSearchConfig
Auto Trait Implementations§
impl Freeze for SymbolSearchConfig
impl RefUnwindSafe for SymbolSearchConfig
impl Send for SymbolSearchConfig
impl Sync for SymbolSearchConfig
impl Unpin for SymbolSearchConfig
impl UnsafeUnpin for SymbolSearchConfig
impl UnwindSafe for SymbolSearchConfig
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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