Abs

Trait Abs 

Source
pub trait Abs {
    // Required method
    fn abs(self) -> Self;
}

Required Methods§

Source

fn 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 Abs for bool

Source§

fn abs(self) -> Self

Source§

impl Abs for char

Source§

fn abs(self) -> Self

Source§

impl Abs for u8

Source§

fn abs(self) -> Self

Source§

impl Abs for u16

Source§

fn abs(self) -> Self

Source§

impl Abs for u32

Source§

fn abs(self) -> Self

Source§

impl Abs for u64

Source§

fn abs(self) -> Self

Source§

impl Abs for u128

Source§

fn abs(self) -> Self

Source§

impl Abs for usize

Source§

fn abs(self) -> Self

Implementors§