Searched refs:or_all (Results 1 – 2 of 2) sorted by relevance
/external/rust/crates/arbitrary/src/ |
D | size_hint.rs | 57 pub fn or_all(hints: &[(usize, Option<usize>)]) -> (usize, Option<usize>) { in or_all() function 105 fn or_all() { in or_all() function 106 assert_eq!((0, Some(0)), super::or_all(&[])); in or_all() 109 super::or_all(&[(1, Some(1)), (2, Some(2)), (4, Some(4))]) in or_all() 113 super::or_all(&[(1, Some(1)), (2, Some(2)), (4, None)]) in or_all() 117 super::or_all(&[(1, Some(1)), (2, None), (4, Some(4))]) in or_all() 121 super::or_all(&[(1, None), (2, Some(2)), (4, Some(4))]) in or_all()
|
/external/rust/crates/derive_arbitrary/src/ |
D | lib.rs | 189 arbitrary::size_hint::or_all(&[ #( #variants ),* ]) in gen_size_hint_method()
|