iced::widget::image

Function viewer

Source
pub fn viewer<Handle>(handle: Handle) -> Viewer<Handle>
Available on crate feature image only.
Expand description

Creates a new Viewer with the given image Handle.