Trait vizia_winit::ModifyWindow

source ·
pub trait ModifyWindow {
    // Required method
    fn modify_window<T>(&mut self, f: impl FnOnce(&Window) -> T) -> Option<T>;
}

Required Methods§

source

fn modify_window<T>(&mut self, f: impl FnOnce(&Window) -> T) -> Option<T>

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<'a> ModifyWindow for EventContext<'a>

source§

fn modify_window<T>(&mut self, f: impl FnOnce(&Window) -> T) -> Option<T>

Implementors§