Struct LinkedListStrategy
#[must_use = "strategies do nothing unless used"]
pub struct LinkedListStrategy<T>(/* private field */)
where
T: Strategy,;
Strategy to create LinkedLists with a length in a certain range.
Created by the linkedlist() function in the same module.
Trait Implementations
impl<T> Clone for LinkedListStrategy<T>
where
T: Strategy + Clone,
fn clone(&self) -> Self
impl<T> Debug for LinkedListStrategy<T>
where
T: Strategy + Debug,
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl<T> Strategy for LinkedListStrategy<T>
where
T: Strategy,
type Tree = LinkedListValueTree<<T as Strategy>::Tree>;type Value = LinkedList<<T as Strategy>::Value>;fn new_tree(&self, runner: &mut TestRunner) -> NewTree<Self>