pub trait TaffyFitContent {
    // Required method
    fn fit_content(argument: LengthPercentage) -> Self;
}
Expand description

Trait to create constant points values from plain numbers

Required Methods§

source

fn fit_content(argument: LengthPercentage) -> Self

Converts into a LengthPercentage into Self

Object Safety§

This trait is not object safe.

Implementors§