taffy::style_helpers

Trait TaffyAuto

Source
pub trait TaffyAuto {
    const AUTO: Self;
}
Expand description

Trait to abstract over auto values

Required Associated Constants§

Source

const AUTO: Self

The auto value for type implementing TaffyAuto

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<T: TaffyAuto> TaffyAuto for Option<T>

Implementors§