pub struct ParameterRanges { /* private fields */ }
Expand description
Contains all the possible type of ranges that can be applied to a value. Usually only one of these ranges will be applied, but all have to be stored since:
- A dynamic parameter can change its type at runtime, in which case a different range could be applied.
- Introspection through service calls requires all the ranges to be reported to the user.
Trait Implementations§
Source§impl Clone for ParameterRanges
impl Clone for ParameterRanges
Source§fn clone(&self) -> ParameterRanges
fn clone(&self) -> ParameterRanges
Returns a copy 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 ParameterRanges
impl Debug for ParameterRanges
Source§impl Default for ParameterRanges
impl Default for ParameterRanges
Source§fn default() -> ParameterRanges
fn default() -> ParameterRanges
Returns the “default value” for a type. Read more
Source§impl From<()> for ParameterRanges
impl From<()> for ParameterRanges
Source§impl From<ParameterRange<f64>> for ParameterRanges
impl From<ParameterRange<f64>> for ParameterRanges
Source§fn from(params: ParameterRange<f64>) -> Self
fn from(params: ParameterRange<f64>) -> Self
Converts to this type from the input type.
Source§impl From<ParameterRange<i64>> for ParameterRanges
impl From<ParameterRange<i64>> for ParameterRanges
Source§fn from(params: ParameterRange<i64>) -> Self
fn from(params: ParameterRange<i64>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ParameterRanges
impl RefUnwindSafe for ParameterRanges
impl Send for ParameterRanges
impl Sync for ParameterRanges
impl Unpin for ParameterRanges
impl UnwindSafe for ParameterRanges
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