pub struct InputContext { /* private fields */ }Implementations§
Source§impl InputContext
impl InputContext
pub fn new( client_win: u32, input_method_id: NonZeroU16, input_context_id: NonZeroU16, locale: String, ) -> Self
pub fn client_win(&self) -> u32
pub fn app_win(&self) -> Option<NonZeroU32>
pub fn app_focus_win(&self) -> Option<NonZeroU32>
pub fn preedit_spot(&self) -> Point
pub fn input_method_id(&self) -> NonZeroU16
pub fn input_context_id(&self) -> NonZeroU16
pub fn input_style(&self) -> InputStyle
pub fn locale(&self) -> &str
Auto Trait Implementations§
impl Freeze for InputContext
impl RefUnwindSafe for InputContext
impl Send for InputContext
impl Sync for InputContext
impl Unpin for InputContext
impl UnwindSafe for InputContext
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