pub struct IntegerRange { /* private fields */ }Expand description
An integer range value provider.
Efficiently provides a contiguous range of integers without storing them.
Implementations§
Source§impl IntegerRange
impl IntegerRange
Sourcepub fn value_range_type(&self) -> ValueRangeType
pub fn value_range_type(&self) -> ValueRangeType
Returns the ValueRangeType describing this range.
An IntegerRange is a countable range with known bounds.
Trait Implementations§
Source§impl<S> ValueRangeProvider<S, i32> for IntegerRange
impl<S> ValueRangeProvider<S, i32> for IntegerRange
Source§impl<S> ValueRangeProvider<S, i64> for IntegerRange
impl<S> ValueRangeProvider<S, i64> for IntegerRange
Auto Trait Implementations§
impl Freeze for IntegerRange
impl RefUnwindSafe for IntegerRange
impl Send for IntegerRange
impl Sync for IntegerRange
impl Unpin for IntegerRange
impl UnsafeUnpin for IntegerRange
impl UnwindSafe for IntegerRange
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