iced_tiny_skia::window::compositor

Function present

source
pub fn present<T: AsRef<str>>(
    renderer: &mut Renderer,
    surface: &mut Surface,
    viewport: &Viewport,
    background_color: Color,
    overlay: &[T],
) -> Result<(), SurfaceError>