Lines Matching refs:result
83 ($value:expr, $pattern:pat => $result:expr) => {
85 $crate::Either::Left($pattern) => $result,
86 $crate::Either::Right($pattern) => $result,
308 /// result in `Left`.
330 /// result in `Right`.
351 /// Apply one of two functions depending on contents, unifying their result. If the value is
385 /// let mut result = Vec::new();
390 /// value.either_with(&mut result,
395 /// assert_eq!(result, vec![2, 3]);
475 /// the result of a function call, it is recommended to use [`left_or_else`],
544 /// the result of a function call, it is recommended to use [`right_or_else`],
877 /// Map `f` over the contained value and return the result in the