Skip to main content

source_of

Function source_of 

pub fn source_of(event: &WindowEvent) -> Option<MotionSource>
Expand description

The input event comes from, for a host that opens and closes surfaces on later frames and needs to know what asked: None for events that are not input.