pub struct UpdateClientSideUIArgs<'s> {
pub preedit_strs: Vec<(&'s str, i32)>,
pub preedit_cursor: i32,
pub aux_up_strs: Vec<(&'s str, i32)>,
pub aux_down_strs: Vec<(&'s str, i32)>,
pub candidates: Vec<(&'s str, &'s str)>,
pub cursor_idx: i32,
pub layout_hint: i32,
pub has_prev: bool,
pub has_next: bool,
/* private fields */
}Expand description
UpdateClientSideUI signal arguments.
Fields§
§preedit_strs: Vec<(&'s str, i32)>§preedit_cursor: i32§aux_up_strs: Vec<(&'s str, i32)>§aux_down_strs: Vec<(&'s str, i32)>§candidates: Vec<(&'s str, &'s str)>§cursor_idx: i32§layout_hint: i32§has_prev: bool§has_next: boolImplementations§
Source§impl<'s> UpdateClientSideUIArgs<'s>
impl<'s> UpdateClientSideUIArgs<'s>
pub fn preedit_strs(&self) -> &Vec<(&'s str, i32)>
pub fn preedit_cursor(&self) -> &i32
pub fn aux_up_strs(&self) -> &Vec<(&'s str, i32)>
pub fn aux_down_strs(&self) -> &Vec<(&'s str, i32)>
pub fn candidates(&self) -> &Vec<(&'s str, &'s str)>
pub fn cursor_idx(&self) -> &i32
pub fn layout_hint(&self) -> &i32
pub fn has_prev(&self) -> &bool
pub fn has_next(&self) -> &bool
Trait Implementations§
Source§impl<'s> Debug for UpdateClientSideUIArgs<'s>
impl<'s> Debug for UpdateClientSideUIArgs<'s>
Auto Trait Implementations§
impl<'s> Freeze for UpdateClientSideUIArgs<'s>
impl<'s> RefUnwindSafe for UpdateClientSideUIArgs<'s>
impl<'s> Send for UpdateClientSideUIArgs<'s>
impl<'s> Sync for UpdateClientSideUIArgs<'s>
impl<'s> Unpin for UpdateClientSideUIArgs<'s>
impl<'s> UnwindSafe for UpdateClientSideUIArgs<'s>
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