pub trait AbsWrapped {
    type Output;

    // Required method
    fn abs_wrapped(self) -> Self::Output;
}
Expand description

Unary operator for retrieving the absolute value, wrapping the result if an overflow occurs.

Required Associated Types§

type Output

Required Methods§

fn abs_wrapped(self) -> Self::Output

Implementations on Foreign Types§

§

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

§

type Output = Integer<E, I>

§

fn abs_wrapped(self) -> <&Integer<E, I> as AbsWrapped>::Output

§

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

§

type Output = Integer<E, I>

§

fn abs_wrapped(self) -> <Integer<E, I> as AbsWrapped>::Output

Implementors§

§

impl<E, I> AbsWrapped for snarkvm_debug::prelude::string::Integer<E, I>
where E: Environment, I: IntegerType,

§

type Output = Integer<E, I>