vizia_winit

Trait 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 ModifyWindow for EventContext<'_>

source§

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

Implementors§