(value: T, is_some: Choice)
| 51 | #[inline] |
| 52 | #[must_use] |
| 53 | pub const fn new(value: T, is_some: Choice) -> CtOption<T> { |
| 54 | Self { value, is_some } |
| 55 | } |
| 56 | |
| 57 | /// Construct a new [`CtOption`] where `self.is_some()` is [`Choice::TRUE`]. |
| 58 | #[inline] |
nothing calls this directly
no outgoing calls
no test coverage detected