pub struct InputMethod<T> { /* private fields */ }Implementations§
Source§impl<T> InputMethod<T>
impl<T> InputMethod<T>
pub fn new(locale: String) -> Self
pub fn clone_locale(&self) -> String
pub fn new_ic( &mut self, ic: UserInputContext<T>, ) -> (NonZeroU16, &mut UserInputContext<T>)
pub fn remove_input_context( &mut self, ic_id: u16, ) -> Result<UserInputContext<T>, ServerError>
pub fn get_input_context( &mut self, ic_id: u16, ) -> Result<&mut UserInputContext<T>, ServerError>
Auto Trait Implementations§
impl<T> Freeze for InputMethod<T>
impl<T> RefUnwindSafe for InputMethod<T>where
T: RefUnwindSafe,
impl<T> Send for InputMethod<T>where
T: Send,
impl<T> Sync for InputMethod<T>where
T: Sync,
impl<T> Unpin for InputMethod<T>where
T: Unpin,
impl<T> UnwindSafe for InputMethod<T>where
T: UnwindSafe,
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