pub struct IndicatorSettingsDialog { /* private fields */ }Expand description
Inputs, Style and Visibility editor for an applied study. Closing or cancelling discards staged values; no study or output history is cloned while the dialog is open.
Implementations§
Source§impl IndicatorSettingsDialog
impl IndicatorSettingsDialog
Sourcepub fn open(
&mut self,
id: SeriesId,
study: &dyn Indicator,
interval: Option<Timeframe>,
)
pub fn open( &mut self, id: SeriesId, study: &dyn Indicator, interval: Option<Timeframe>, )
Open on the current values of the study identified by id.
Sourcepub fn open_for_chart(&mut self, chart: &Chart, id: SeriesId) -> bool
pub fn open_for_chart(&mut self, chart: &Chart, id: SeriesId) -> bool
Open on a chart study and offer its other studies as source inputs, excluding cycles.
Trait Implementations§
Source§impl Default for IndicatorSettingsDialog
impl Default for IndicatorSettingsDialog
Source§fn default() -> IndicatorSettingsDialog
fn default() -> IndicatorSettingsDialog
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for IndicatorSettingsDialog
impl RefUnwindSafe for IndicatorSettingsDialog
impl Send for IndicatorSettingsDialog
impl Sync for IndicatorSettingsDialog
impl Unpin for IndicatorSettingsDialog
impl UnsafeUnpin for IndicatorSettingsDialog
impl UnwindSafe for IndicatorSettingsDialog
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> 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