pub struct ValueRange<T> {
pub start: T,
pub end: T,
pub step: u64,
}Fields§
§start: T§end: T§step: u64Trait Implementations§
Source§impl<T: Clone> Clone for ValueRange<T>
impl<T: Clone> Clone for ValueRange<T>
Source§fn clone(&self) -> ValueRange<T>
fn clone(&self) -> ValueRange<T>
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<T: Debug> Debug for ValueRange<T>
impl<T: Debug> Debug for ValueRange<T>
Source§impl From<BNValueRange> for ValueRange<i64>
impl From<BNValueRange> for ValueRange<i64>
Source§fn from(value: BNValueRange) -> Self
fn from(value: BNValueRange) -> Self
Converts to this type from the input type.
Source§impl From<BNValueRange> for ValueRange<u64>
impl From<BNValueRange> for ValueRange<u64>
Source§fn from(value: BNValueRange) -> Self
fn from(value: BNValueRange) -> Self
Converts to this type from the input type.
Source§impl From<ValueRange<i64>> for BNValueRange
impl From<ValueRange<i64>> for BNValueRange
Source§fn from(value: ValueRange<i64>) -> Self
fn from(value: ValueRange<i64>) -> Self
Converts to this type from the input type.
Source§impl From<ValueRange<u64>> for BNValueRange
impl From<ValueRange<u64>> for BNValueRange
Source§fn from(value: ValueRange<u64>) -> Self
fn from(value: ValueRange<u64>) -> Self
Converts to this type from the input type.
Source§impl<T: Hash> Hash for ValueRange<T>
impl<T: Hash> Hash for ValueRange<T>
Source§impl<T: PartialEq> PartialEq for ValueRange<T>
impl<T: PartialEq> PartialEq for ValueRange<T>
impl<T: Copy> Copy for ValueRange<T>
impl<T: Eq> Eq for ValueRange<T>
impl<T> StructuralPartialEq for ValueRange<T>
Auto Trait Implementations§
impl<T> Freeze for ValueRange<T>where
T: Freeze,
impl<T> RefUnwindSafe for ValueRange<T>where
T: RefUnwindSafe,
impl<T> Send for ValueRange<T>where
T: Send,
impl<T> Sync for ValueRange<T>where
T: Sync,
impl<T> Unpin for ValueRange<T>where
T: Unpin,
impl<T> UnwindSafe for ValueRange<T>where
T: UnwindSafe,
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