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