Trait taffy::style_helpers::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

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

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

source§

const AUTO: Option<T> = _

Implementors§

source§

impl TaffyAuto for Dimension

source§

const AUTO: Self = Self::Auto

source§

impl TaffyAuto for LengthPercentageAuto

source§

const AUTO: Self = Self::Auto

source§

impl TaffyAuto for MaxTrackSizingFunction

source§

const AUTO: Self = Self::Auto

source§

impl TaffyAuto for MinTrackSizingFunction

source§

const AUTO: Self = Self::Auto

source§

impl TaffyAuto for TrackSizingFunction

source§

const AUTO: Self = _

source§

impl TaffyAuto for GridPlacement

source§

const AUTO: Self = Self::Auto

source§

impl TaffyAuto for NonRepeatedTrackSizingFunction

source§

const AUTO: Self = _

source§

impl<T: TaffyAuto> TaffyAuto for Line<T>

source§

const AUTO: Line<T> = _

source§

impl<T: TaffyAuto> TaffyAuto for Point<T>

source§

const AUTO: Point<T> = _

source§

impl<T: TaffyAuto> TaffyAuto for Rect<T>

source§

const AUTO: Rect<T> = _

source§

impl<T: TaffyAuto> TaffyAuto for Size<T>

source§

const AUTO: Size<T> = _