pub enum RangeInput {
Static(i64),
StaticFloat(f64),
Runtime(RuntimeInputRef),
}Expand description
Represents either a static value or a runtime argument for range parameters.
Variants§
Static(i64)
Static integer value known at compile time (int16, int32, int64 ranges).
StaticFloat(f64)
Static floating-point value known at compile time (float, double ranges).
Runtime(RuntimeInputRef)
Runtime argument determined during execution .
Trait Implementations§
Source§impl Clone for RangeInput
impl Clone for RangeInput
Source§impl Debug for RangeInput
impl Debug for RangeInput
Auto Trait Implementations§
impl Freeze for RangeInput
impl RefUnwindSafe for RangeInput
impl Send for RangeInput
impl Sync for RangeInput
impl Unpin for RangeInput
impl UnsafeUnpin for RangeInput
impl UnwindSafe for RangeInput
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