pub struct BiHashMapValueTree<T, S = DefaultHashBuilder, A = Global>where
T: ValueTree,{ /* private fields */ }Available on crate feature
proptest only.Expand description
ValueTree corresponding to BiHashMapStrategy.
Trait Implementations§
Source§impl<T, S: Clone, A: Clone> Clone for BiHashMapValueTree<T, S, A>
impl<T, S: Clone, A: Clone> Clone for BiHashMapValueTree<T, S, A>
Source§fn clone(&self) -> BiHashMapValueTree<T, S, A>
fn clone(&self) -> BiHashMapValueTree<T, S, A>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<T, S, A> Debug for BiHashMapValueTree<T, S, A>
impl<T, S, A> Debug for BiHashMapValueTree<T, S, A>
Source§impl<'a, T, S, A> ValueTree for BiHashMapValueTree<T, S, A>where
T: ValueTree,
T::Value: 'a + BiHashItem,
<T::Value as BiHashItem>::K1<'a>: Debug,
<T::Value as BiHashItem>::K2<'a>: Debug,
S: Clone + BuildHasher,
A: Clone + Allocator,
impl<'a, T, S, A> ValueTree for BiHashMapValueTree<T, S, A>where
T: ValueTree,
T::Value: 'a + BiHashItem,
<T::Value as BiHashItem>::K1<'a>: Debug,
<T::Value as BiHashItem>::K2<'a>: Debug,
S: Clone + BuildHasher,
A: Clone + Allocator,
Source§type Value = BiHashMap<<T as ValueTree>::Value, S, A>
type Value = BiHashMap<<T as ValueTree>::Value, S, A>
The type of the value produced by this
ValueTree.Source§fn simplify(&mut self) -> bool
fn simplify(&mut self) -> bool
Attempts to simplify the current value. Notionally, this sets the
“high” value to the current value, and the current value to a “halfway
point” between high and low, rounding towards low. Read more
Source§fn complicate(&mut self) -> bool
fn complicate(&mut self) -> bool
Attempts to partially undo the last simplification. Notionally, this
sets the “low” value to one plus the current value, and the current
value to a “halfway point” between high and the new low, rounding
towards low. Read more
Auto Trait Implementations§
impl<T, S, A> Freeze for BiHashMapValueTree<T, S, A>
impl<T, S, A> RefUnwindSafe for BiHashMapValueTree<T, S, A>
impl<T, S, A> Send for BiHashMapValueTree<T, S, A>
impl<T, S, A> Sync for BiHashMapValueTree<T, S, A>
impl<T, S, A> Unpin for BiHashMapValueTree<T, S, A>
impl<T, S, A> UnsafeUnpin for BiHashMapValueTree<T, S, A>where
S: UnsafeUnpin,
A: UnsafeUnpin,
impl<T, S, A> UnwindSafe for BiHashMapValueTree<T, S, A>
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