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