Lines Matching refs:Both
9 Both(A, B), enumerator
54 Left(left) | Both(left, _) => Some(left), in left()
62 Right(right) | Both(_, right) => Some(right), in right()
70 Both(a, b) => Some((a, b)), in both()
80 Both(ref left, ref right) => Both(left, right), in as_ref()
89 Both(ref mut left, ref mut right) => Both(left, right), in as_mut()
98 Both(a, b) => Both(b, a), in flip()
109 Both(a, b) => Both(f(a), b), in map_left()
124 Both(a, b) => Both(a, f(b)), in map_right()
139 Both(a, b) => Both(f(a), g(b)), in map_any()
150 Left(a) | Both(a, _) => f(a), in left_and_then()
163 Right(b) | Both(_, b) => f(b), in right_and_then()
177 Both(a, b) => f(a, b), in reduce()