pub struct Chewing { /* private fields */ }Implementations§
Source§impl Chewing
impl Chewing
pub fn new() -> Result<Self, Error>
pub fn config(&self)
pub fn chinese_or_english_mode(&self)
pub fn symbol_length(&self, symbols: u8)
pub fn list(&self) -> Vec<&str>
pub fn choose_by_index(&self, index: u8)
pub fn buffer(&self) -> &str
pub fn bopomofo(&self) -> &str
pub fn backspace(&self)
pub fn capslock(&self)
pub fn ctrl_num(&self, key: char)
pub fn double_tab(&self)
pub fn default(&self, key: char)
pub fn del(&self)
pub fn down(&self)
pub fn end(&self)
pub fn enter(&self)
pub fn esc(&self)
pub fn home(&self)
pub fn left(&self)
pub fn num_lock(&self, key: char)
pub fn page_up(&self)
pub fn page_down(&self)
pub fn right(&self)
pub fn shift_left(&self)
pub fn shift_right(&self)
pub fn shift_space(&self)
pub fn space(&self)
pub fn tab(&self)
pub fn up(&self)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Chewing
impl RefUnwindSafe for Chewing
impl !Send for Chewing
impl !Sync for Chewing
impl Unpin for Chewing
impl UnwindSafe for Chewing
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