pub trait CtAssignSlice: CtAssign + Sized {
// Provided method
fn ct_assign_slice(dst: &mut [Self], src: &[Self], choice: Choice) { ... }
}Expand description
Provided Methods§
Sourcefn ct_assign_slice(dst: &mut [Self], src: &[Self], choice: Choice)
fn ct_assign_slice(dst: &mut [Self], src: &[Self], choice: Choice)
Conditionally assign src to dst if choice is Choice::TRUE, or leave it unchanged
for Choice::FALSE.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.