iced::widget::image

Function layout

Source
pub fn layout<Renderer, Handle>(
    renderer: &Renderer,
    limits: &Limits,
    handle: &Handle,
    width: Length,
    height: Length,
    content_fit: ContentFit,
    rotation: Rotation,
) -> Node
where Renderer: Renderer<Handle = Handle>,
Available on crate feature image only.
Expand description

Computes the layout of an Image.