Struct fuzzcheck::SubValueProviderId
source · [−]pub struct SubValueProviderId {
pub idx: usize,
pub generation: Generation,
}
Expand description
Uniquely identifies a SubValueProvider
The identifier is composed of two fields: idx
and generation
. At any
point in time, only one subvalue provider should have a given idx
.
If two subvalue providers have the same idx
but different generation
,
then only the one with the larger generation is valid.
Fields
idx: usize
generation: Generation
Trait Implementations
sourceimpl Clone for SubValueProviderId
impl Clone for SubValueProviderId
sourcefn clone(&self) -> SubValueProviderId
fn clone(&self) -> SubValueProviderId
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Copy for SubValueProviderId
Auto Trait Implementations
impl RefUnwindSafe for SubValueProviderId
impl Send for SubValueProviderId
impl Sync for SubValueProviderId
impl Unpin for SubValueProviderId
impl UnwindSafe for SubValueProviderId
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more