Trait Absolute

Source
pub trait Absolute {
    // 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 Absolute for f32

Source§

fn abs(self) -> Self

Source§

impl Absolute for f64

Source§

fn abs(self) -> Self

Source§

impl Absolute for i8

Source§

fn abs(self) -> Self

Source§

impl Absolute for i16

Source§

fn abs(self) -> Self

Source§

impl Absolute for i32

Source§

fn abs(self) -> Self

Source§

impl Absolute for i64

Source§

fn abs(self) -> Self

Source§

impl Absolute for isize

Source§

fn abs(self) -> Self

Source§

impl Absolute for u8

Source§

fn abs(self) -> Self

Source§

impl Absolute for u16

Source§

fn abs(self) -> Self

Source§

impl Absolute for u32

Source§

fn abs(self) -> Self

Source§

impl Absolute for u64

Source§

fn abs(self) -> Self

Source§

impl Absolute for usize

Source§

fn abs(self) -> Self

Source§

impl<T, const N: usize> Absolute for [T; N]
where T: Absolute,

Source§

fn abs(self) -> Self

Implementors§

Source§

impl<T> Absolute for RectangleBase<T>
where T: Absolute,

Source§

impl<T> Absolute for ColorRGBAOf<T>
where T: Absolute,

Source§

impl<T> Absolute for TimeOf<T>

Source§

impl<T, const N: usize> Absolute for Vector<T, N>
where T: Absolute,