Trait taffy::style_helpers::TaffyFitContent
source · pub trait TaffyFitContent {
// Required method
fn fit_content(argument: LengthPercentage) -> Self;
}
Expand description
Trait to create fit-content(…)
values from plain numbers
Required Methods§
sourcefn fit_content(argument: LengthPercentage) -> Self
fn fit_content(argument: LengthPercentage) -> Self
Converts a LengthPercentage into Self
Object Safety§
This trait is not object safe.