snarkvm_circuit_environment::traits

Trait MSB

Source
pub trait MSB {
    type Boolean: BooleanTrait;

    // Required method
    fn msb(&self) -> &Self::Boolean;
}
Expand description

Unary operator for retrieving the most-significant bit.

Required Associated Types§

Required Methods§

Source

fn msb(&self) -> &Self::Boolean

Returns the MSB of the value.

Implementors§