pub enum WinitWindowEventResult {
Propagate,
PreventDefault,
}
Expand description
Returned by callbacks passed to Window::on_winit_window_event
to determine if winit events should propagate to the Slint event loop.
Variants§
Propagate
The winit event should propagate normally.
PreventDefault
The winit event shouldn’t be processed further.
Auto Trait Implementations§
impl Freeze for WinitWindowEventResult
impl RefUnwindSafe for WinitWindowEventResult
impl Send for WinitWindowEventResult
impl Sync for WinitWindowEventResult
impl Unpin for WinitWindowEventResult
impl UnwindSafe for WinitWindowEventResult
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more