palette::num

Trait Zero

source
pub trait Zero {
    // Required method
    fn zero() -> Self;
}
Expand description

Methods for the value 0.

Required Methods§

source

fn zero() -> Self

Create a new 0 value.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Zero for f32

source§

fn zero() -> Self

source§

impl Zero for f64

source§

fn zero() -> Self

source§

impl Zero for u8

source§

fn zero() -> Self

source§

impl Zero for u16

source§

fn zero() -> Self

source§

impl Zero for u32

source§

fn zero() -> Self

source§

impl Zero for u64

source§

fn zero() -> Self

source§

impl Zero for u128

source§

fn zero() -> Self

Implementors§