winit::platform_impl::linux::x11::util

Function maybe_change

Source
pub fn maybe_change<T: PartialEq>(field: &mut Option<T>, value: T) -> bool