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§

Source§

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