Trait lay_rs::prelude::taffy::TaffyZero

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

Trait to abstract over zero values

Required Associated Constants§

const ZERO: Self

The zero value for type implementing TaffyZero

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

§

impl TaffyZero for f32

§

const ZERO: f32 = 0f32

§

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

§

const ZERO: Option<T> = _

Implementors§