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.

Implementations on Foreign Types§

§

impl<E, I> MSB for Integer<E, I>where E: Environment, I: IntegerType,

§

fn msb(&self) -> &<Integer<E, I> as MSB>::Boolean

Returns the MSB of the integer.

§

type Boolean = Boolean<E>

Implementors§