Function with_current_framebuffer

Source
pub fn with_current_framebuffer<T>(
    window: &Window,
    f: impl FnOnce(&mut Framebuffer<'_>) -> T,
) -> T