pub trait CondSelect: Sized {
// Required method
fn select(bit: impl IntoChoice, if_true: &Self, if_false: &Self) -> Self;
}Expand description
Constant-time two-way select.
Required Methods§
fn select(bit: impl IntoChoice, if_true: &Self, if_false: &Self) -> Self
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".