Skip to main content

and_all

Function and_all 

pub fn and_all(hints: &[(usize, Option<usize>)]) -> (usize, Option<usize>)
Available on crate features arbitrary only.
Expand description

Take the sum of all of the given size hints.

If hints is empty, returns (0, Some(0)), aka the size of consuming nothing.