Function cosmic::iced_widget::image::layout

source ยท
pub fn layout<Renderer, Handle>(
    renderer: &Renderer,
    limits: &Limits,
    handle: &Handle,
    width: Length,
    height: Length,
    content_fit: ContentFit,
    rotation: Rotation,
    _border_radius: [f32; 4],
) -> Node
where Renderer: Renderer<Handle = Handle>,
Expand description

Computes the layout of an Image.