pub struct DiscreteRange<T: PrimInt>(/* private fields */);Implementations§
Trait Implementations§
Source§impl<T: Clone + PrimInt> Clone for DiscreteRange<T>
impl<T: Clone + PrimInt> Clone for DiscreteRange<T>
Source§fn clone(&self) -> DiscreteRange<T>
fn clone(&self) -> DiscreteRange<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 Into<DiscreteRange<u32>> for CharRange
impl Into<DiscreteRange<u32>> for CharRange
Source§fn into(self) -> DiscreteRange<u32>
fn into(self) -> DiscreteRange<u32>
Converts this type into the (usually inferred) input type.
impl<T: Copy + PrimInt> Copy for DiscreteRange<T>
impl<T: Eq + PrimInt> Eq for DiscreteRange<T>
impl<T: PrimInt> StructuralPartialEq for DiscreteRange<T>
Auto Trait Implementations§
impl<T> Freeze for DiscreteRange<T>where
T: Freeze,
impl<T> RefUnwindSafe for DiscreteRange<T>where
T: RefUnwindSafe,
impl<T> Send for DiscreteRange<T>where
T: Send,
impl<T> Sync for DiscreteRange<T>where
T: Sync,
impl<T> Unpin for DiscreteRange<T>where
T: Unpin,
impl<T> UnwindSafe for DiscreteRange<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