Skip to main content

any_query

Function any_query 

pub fn any_query() -> impl Strategy<Value = Query>
Available on crate feature proptest only.
Expand description

Generates a Query, weighted towards Items — All has one behaviour and needs one sample, not a third of them.

§Panics

Panics during generation if a generated item list is empty, which the range below makes unreachable. Test-only helper.