layout_2020::sizing

Trait ComputeInlineContentSizes

Source
pub(crate) trait ComputeInlineContentSizes {
    // Required method
    fn compute_inline_content_sizes(
        &self,
        layout_context: &LayoutContext<'_>,
        constraint_space: &ConstraintSpace,
    ) -> InlineContentSizesResult;
}

Required Methods§

Source

fn compute_inline_content_sizes( &self, layout_context: &LayoutContext<'_>, constraint_space: &ConstraintSpace, ) -> InlineContentSizesResult

Implementors§