Skip to main content

Overlay

Type Alias Overlay 

Source
pub type Overlay = Box<dyn FnMut(&OverlayTarget<'_>)>;
Expand description

Draws over a frame (SurfaceTarget::set_overlay), submitting its own commands to the queue.

Aliased Typeยง

pub struct Overlay(/* private fields */);