pub enum ParameterRange {
None,
FloatingPoint(FloatingPointRange),
Integer(IntegerRange),
}Expand description
Range constraints for a parameter
Variants§
None
No range constraints
FloatingPoint(FloatingPointRange)
Floating point range
Integer(IntegerRange)
Integer range
Trait Implementations§
Source§impl Clone for ParameterRange
impl Clone for ParameterRange
Source§fn clone(&self) -> ParameterRange
fn clone(&self) -> ParameterRange
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 ParameterRange
impl Debug for ParameterRange
Source§impl Default for ParameterRange
impl Default for ParameterRange
Source§fn default() -> ParameterRange
fn default() -> ParameterRange
Returns the “default value” for a type. Read more
impl Copy for ParameterRange
Auto Trait Implementations§
impl Freeze for ParameterRange
impl RefUnwindSafe for ParameterRange
impl Send for ParameterRange
impl Sync for ParameterRange
impl Unpin for ParameterRange
impl UnsafeUnpin for ParameterRange
impl UnwindSafe for ParameterRange
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