Function image2::window::show_all

source ·
pub fn show_all<T: Type, C: Color, F: FnMut(&mut Window<T, C>, Option<Event>) -> Result<(), Error>>(
    images: impl IntoIterator<Item = (impl Into<String>, Image<T, C>)>,
    f: F
) -> Result<Vec<Image<T, C>>, Error>where
    Image<T, C>: ToTexture<T, C>,
Expand description

Show multiple images and exit when ESC is pressed