pub trait TaffyZero {
    const ZERO: Self;
}
Expand description

Trait to abstract over zero values

Required Associated Constants§

source

const ZERO: Self

The zero value for type implementing TaffyZero

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl TaffyZero for f32

source§

const ZERO: f32 = 0f32

source§

impl<T: TaffyZero> TaffyZero for Option<T>

source§

const ZERO: Option<T> = _

Implementors§