Trait cosmic::cosmic_theme::palette::num::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§

impl Zero for f64

source§

impl Zero for u8

source§

impl Zero for u16

source§

impl Zero for u32

source§

impl Zero for u64

source§

impl Zero for u128

Implementors§