Enum winit::platform_impl::platform::x11::ime::input_method::InputMethodResult
source · pub enum InputMethodResult {
XModifiers(InputMethod),
Fallback(InputMethod),
Failure,
}
Variants§
XModifiers(InputMethod)
Input method used locale modifier from XMODIFIERS
environment variable.
Fallback(InputMethod)
Input method used internal fallback locale modifier.
Failure
Input method could not be opened using any locale modifier tried.
Implementations§
source§impl InputMethodResult
impl InputMethodResult
pub fn is_fallback(&self) -> bool
pub fn ok(self) -> Option<InputMethod>
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for InputMethodResult
impl !Send for InputMethodResult
impl !Sync for InputMethodResult
impl Unpin for InputMethodResult
impl UnwindSafe for InputMethodResult
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