(&self, other: &Self, choice: Choice)
| 586 | |
| 587 | impl<T: CtSelect> CtSelect for CtOption<T> { |
| 588 | fn ct_select(&self, other: &Self, choice: Choice) -> Self { |
| 589 | Self { |
| 590 | value: self.value.ct_select(&other.value, choice), |
| 591 | is_some: self.is_some.ct_select(&other.is_some, choice), |
| 592 | } |
| 593 | } |
| 594 | } |
| 595 | |
| 596 | impl<T: Default> Default for CtOption<T> { |