Trait utils::number::Signed

source ·
pub trait Signed:
    Number
    + Neg<Output = Self>
    + From<i8> {
    const MINUS_ONE: Self;
}
Expand description

Trait implemented by the primitive signed integer and floating point types.

Required Associated Constants§

source

const MINUS_ONE: Self

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Signed for f32

source§

const MINUS_ONE: Self = -1f32

source§

impl Signed for f64

source§

const MINUS_ONE: Self = -1f64

source§

impl Signed for i8

source§

const MINUS_ONE: Self = -1i8

source§

impl Signed for i16

source§

const MINUS_ONE: Self = -1i16

source§

impl Signed for i32

source§

const MINUS_ONE: Self = -1i32

source§

impl Signed for i64

source§

const MINUS_ONE: Self = -1i64

source§

impl Signed for i128

source§

const MINUS_ONE: Self = -1i128

source§

impl Signed for isize

source§

const MINUS_ONE: Self = -1isize

Implementors§