pub trait CtLookup<Idx> {
type Output: CtAssign;
// Required method
fn ct_lookup(&self, index: Idx) -> CtOption<Self::Output>;
}Expand description
Constant-time lookup by index, similar to the Index trait, but returning an owned result in
constant-time.