Trait lay_rs::prelude::taffy::style_helpers::TaffyFitContent

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

Trait to create fit-content(…) values from plain numbers

Required Methods§

fn fit_content(argument: LengthPercentage) -> Self

Converts a LengthPercentage into Self

Object Safety§

This trait is not object safe.

Implementors§