Trait malachite_base::num::basic::traits::Zero

source ·
pub trait Zero {
    const ZERO: Self;
}
Expand description

Provides the constant 0.

Required Associated Constants§

source

const ZERO: Self

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Zero for f32

The constant 0.

source§

const ZERO: f32 = 0f32

source§

impl Zero for f64

The constant 0.

source§

const ZERO: f64 = 0f64

source§

impl Zero for i8

The constant 0.

§Examples

See here.

source§

const ZERO: i8 = 0i8

source§

impl Zero for i16

The constant 0.

§Examples

See here.

source§

const ZERO: i16 = 0i16

source§

impl Zero for i32

The constant 0.

§Examples

See here.

source§

const ZERO: i32 = 0i32

source§

impl Zero for i64

The constant 0.

§Examples

See here.

source§

const ZERO: i64 = 0i64

source§

impl Zero for i128

The constant 0.

§Examples

See here.

source§

const ZERO: i128 = 0i128

source§

impl Zero for isize

The constant 0.

§Examples

See here.

source§

const ZERO: isize = 0isize

source§

impl Zero for u8

The constant 0.

§Examples

See here.

source§

const ZERO: u8 = 0u8

source§

impl Zero for u16

The constant 0.

§Examples

See here.

source§

const ZERO: u16 = 0u16

source§

impl Zero for u32

The constant 0.

§Examples

See here.

source§

const ZERO: u32 = 0u32

source§

impl Zero for u64

The constant 0.

§Examples

See here.

source§

const ZERO: u64 = 0u64

source§

impl Zero for u128

The constant 0.

§Examples

See here.

source§

const ZERO: u128 = 0u128

source§

impl Zero for usize

The constant 0.

§Examples

See here.

source§

const ZERO: usize = 0usize

Implementors§