pub struct PositiveIntGenerator<T> { /* private fields */ }Expand description
Generator for positive integers (> 0)
Generic over any unsigned integer type
Implementations§
Source§impl<T> PositiveIntGenerator<T>
impl<T> PositiveIntGenerator<T>
Trait Implementations§
Source§impl<T: Clone> Clone for PositiveIntGenerator<T>
impl<T: Clone> Clone for PositiveIntGenerator<T>
Source§impl<T: Debug> Debug for PositiveIntGenerator<T>
impl<T: Debug> Debug for PositiveIntGenerator<T>
Source§impl<T> Generator<T> for PositiveIntGenerator<T>
impl<T> Generator<T> for PositiveIntGenerator<T>
Auto Trait Implementations§
impl<T> Freeze for PositiveIntGenerator<T>where
T: Freeze,
impl<T> RefUnwindSafe for PositiveIntGenerator<T>where
T: RefUnwindSafe,
impl<T> Send for PositiveIntGenerator<T>where
T: Send,
impl<T> Sync for PositiveIntGenerator<T>where
T: Sync,
impl<T> Unpin for PositiveIntGenerator<T>where
T: Unpin,
impl<T> UnsafeUnpin for PositiveIntGenerator<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for PositiveIntGenerator<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