CtLt

Trait CtLt 

Source
pub trait CtLt {
    // Required method
    fn ct_lt(&self, other: &Self) -> Choice;
}
Expand description

Constant time less than.

Required Methods§

Source

fn ct_lt(&self, other: &Self) -> Choice

Compute whether self < other in constant time.

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.

Implementations on Foreign Types§

Source§

impl CtLt for Ordering

Source§

fn ct_lt(&self, other: &Self) -> Choice

Source§

impl CtLt for u8

Source§

fn ct_lt(&self, other: &Self) -> Choice

Source§

impl CtLt for u16

Source§

fn ct_lt(&self, other: &Self) -> Choice

Source§

impl CtLt for u32

Source§

fn ct_lt(&self, other: &Self) -> Choice

Source§

impl CtLt for u64

Source§

fn ct_lt(&self, other: &Self) -> Choice

Source§

impl CtLt for u128

Source§

fn ct_lt(&self, other: &Self) -> Choice

Implementors§