pub struct IndicatorTemplatePanel<'a> { /* private fields */ }Expand description
Indicator template management panel
Renders inside the indicator dialog’s configuration area. Shows template list, save form, and action buttons.
Implementations§
Source§impl<'a> IndicatorTemplatePanel<'a>
impl<'a> IndicatorTemplatePanel<'a>
Sourcepub fn new(
state: &'a mut IndicatorTemplateState,
indicator_type: &'a str,
) -> Self
pub fn new( state: &'a mut IndicatorTemplateState, indicator_type: &'a str, ) -> Self
Create a new template panel for the given indicator type
Sourcepub fn show(&mut self, ui: &mut Ui) -> IndicatorTemplateAction
pub fn show(&mut self, ui: &mut Ui) -> IndicatorTemplateAction
Show the template panel and return any action
Auto Trait Implementations§
impl<'a> !UnwindSafe for IndicatorTemplatePanel<'a>
impl<'a> Freeze for IndicatorTemplatePanel<'a>
impl<'a> RefUnwindSafe for IndicatorTemplatePanel<'a>
impl<'a> Send for IndicatorTemplatePanel<'a>
impl<'a> Sync for IndicatorTemplatePanel<'a>
impl<'a> Unpin for IndicatorTemplatePanel<'a>
impl<'a> UnsafeUnpin for IndicatorTemplatePanel<'a>
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