Skip to main content

ImageOverlay

Type Alias ImageOverlay 

Source
pub type ImageOverlay = Rc<dyn Fn(usize, &str, &mut Window, &mut App) -> Option<AnyElement>>;
Expand description

Builds a picture’s hover control from its block index and original URL. None leaves that picture without one. An empty picture placeholder gets none.

Aliased Type§

pub struct ImageOverlay { /* private fields */ }