pub struct ChartSettings {Show 15 fields
pub scale_mode: PriceScaleMode,
pub chart_type: ChartType,
pub show_horizontal_grid: bool,
pub show_vertical_grid: bool,
pub show_right_axis: bool,
pub show_left_axis: bool,
pub lock_scale: bool,
pub scale_price_chart_only: bool,
pub show_symbol_labels: bool,
pub show_symbol_last_val: bool,
pub show_symbol_prev_close: bool,
pub show_indicator_labels: bool,
pub show_indicator_last_val: bool,
pub no_overlapping_labels: bool,
pub show_countdown: bool,
}Expand description
Simplified chart settings for the quick settings popup menu
Fields§
§scale_mode: PriceScaleModePrice scale transformation.
chart_type: ChartTypeChart representation selected in the menu.
show_horizontal_grid: boolWhether to show horizontal grid.
show_vertical_grid: boolWhether to show vertical grid.
show_right_axis: boolWhether to show right axis.
show_left_axis: boolWhether to show left axis.
lock_scale: boolWhether the price-to-bar ratio is locked.
scale_price_chart_only: boolWhether autoscaling considers only the main price series.
show_symbol_labels: boolWhether to show symbol labels.
show_symbol_last_val: boolWhether to show symbol last value.
show_symbol_prev_close: boolWhether to show symbol prev close.
show_indicator_labels: boolWhether to show indicator labels.
show_indicator_last_val: boolWhether to show indicator last value.
no_overlapping_labels: boolWhether price axis labels should avoid overlapping.
show_countdown: boolWhether to show countdown.
Trait Implementations§
Source§impl Clone for ChartSettings
impl Clone for ChartSettings
Source§fn clone(&self) -> ChartSettings
fn clone(&self) -> ChartSettings
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 ChartSettings
impl Debug for ChartSettings
Auto Trait Implementations§
impl Freeze for ChartSettings
impl RefUnwindSafe for ChartSettings
impl Send for ChartSettings
impl Sync for ChartSettings
impl Unpin for ChartSettings
impl UnsafeUnpin for ChartSettings
impl UnwindSafe for ChartSettings
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