snarkvm_console_collections::field

Trait ShlChecked

Source
pub trait ShlChecked<Rhs = Self>
where Rhs: ?Sized,
{ type Output; // Required method fn shl_checked(&self, rhs: &Rhs) -> Self::Output; }
Expand description

Binary operator for left shifting a value, checking that the rhs is less than the number of bits in self.

Required Associated Types§

Required Methods§

Source

fn shl_checked(&self, rhs: &Rhs) -> Self::Output

Implementors§

Source§

impl<E, I, M> ShlChecked<Integer<E, M>> for Integer<E, I>

Source§

type Output = Integer<E, I>