(self)
| 464 | #[inline] |
| 465 | #[must_use] |
| 466 | pub fn unwrap_or_default(self) -> T |
| 467 | where |
| 468 | T: CtSelect + Default, |
| 469 | { |
| 470 | self.unwrap_or(T::default()) |
| 471 | } |
| 472 | |
| 473 | /// Returns an "is some" [`CtOption`] with the contained value from either `self` or `optb` in |
| 474 | /// the event exactly one of them has `self.is_some()` set to [`Choice::TRUE`], or else returns |