Skip to main content

sized_content

Function sized_content 

Source
pub fn sized_content(
    id: impl Into<ElementId>,
    builder: impl FnOnce(Bounds<Pixels>, &mut Window, &mut App) -> AnyElement + 'static,
) -> SizedContent
Expand description

Build content from the bounds this element is given. See SizedContent.