snarkvm_console_program::integer_type

Trait WrappingAbs

Source
pub trait WrappingAbs: Sized {
    // Required method
    fn wrapping_abs(&self) -> Self;
}

Required Methods§

Source

fn wrapping_abs(&self) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl WrappingAbs for i8

Source§

impl WrappingAbs for i16

Source§

impl WrappingAbs for i32

Source§

impl WrappingAbs for i64

Source§

impl WrappingAbs for i128

Source§

impl WrappingAbs for u8

Source§

impl WrappingAbs for u16

Source§

impl WrappingAbs for u32

Source§

impl WrappingAbs for u64

Source§

impl WrappingAbs for u128

Implementors§