pub struct IndicatorParamInfo {
pub key: &'static str,
pub label: &'static str,
pub kind: IndicatorParamKind,
pub required: bool,
pub default: Option<ParamValueStatic>,
pub min: Option<f64>,
pub max: Option<f64>,
pub step: Option<f64>,
pub enum_values: &'static [&'static str],
pub notes: Option<&'static str>,
}Fields§
§key: &'static str§label: &'static str§kind: IndicatorParamKind§required: bool§default: Option<ParamValueStatic>§min: Option<f64>§max: Option<f64>§step: Option<f64>§enum_values: &'static [&'static str]§notes: Option<&'static str>Trait Implementations§
Source§impl Clone for IndicatorParamInfo
impl Clone for IndicatorParamInfo
Source§fn clone(&self) -> IndicatorParamInfo
fn clone(&self) -> IndicatorParamInfo
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 IndicatorParamInfo
impl Debug for IndicatorParamInfo
Auto Trait Implementations§
impl Freeze for IndicatorParamInfo
impl RefUnwindSafe for IndicatorParamInfo
impl Send for IndicatorParamInfo
impl Sync for IndicatorParamInfo
impl Unpin for IndicatorParamInfo
impl UnsafeUnpin for IndicatorParamInfo
impl UnwindSafe for IndicatorParamInfo
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 more