pub struct U128 { /* private fields */ }Expand description
A mutator for
u128
values.
See the
u128()
function to create new instances and for
example usage.
Trait Implementations§
source§impl Mutate<u128> for U128
impl Mutate<u128> for U128
source§fn mutate(&mut self, c: &mut Candidates<'_>, value: &mut u128) -> Result<()>
fn mutate(&mut self, c: &mut Candidates<'_>, value: &mut u128) -> Result<()>
Pseudo-randomly mutate the given value. Read more
source§fn or<M>(self, other: M) -> Or<Self, M>where
Self: Sized,
fn or<M>(self, other: M) -> Or<Self, M>where
Self: Sized,
Create a new mutator that performs either this mutation or the
other
mutation. Read moresource§fn map<F>(self, f: F) -> Map<Self, F>
fn map<F>(self, f: F) -> Map<Self, F>
Map a function over the mutations produced by this mutator. Read more
source§impl MutateInRange<u128> for U128
impl MutateInRange<u128> for U128
source§fn mutate_in_range(
&mut self,
c: &mut Candidates<'_>,
value: &mut u128,
range: &RangeInclusive<u128>,
) -> Result<()>
fn mutate_in_range( &mut self, c: &mut Candidates<'_>, value: &mut u128, range: &RangeInclusive<u128>, ) -> Result<()>
Mutate a value, ensuring that the resulting mutation is within the given
range.
Auto Trait Implementations§
impl Freeze for U128
impl RefUnwindSafe for U128
impl Send for U128
impl Sync for U128
impl Unpin for U128
impl UnwindSafe for U128
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)