pub struct State { /* private fields */ }Implementations§
Source§impl State
impl State
Sourcepub unsafe fn from_raw_ptr(ptr: *mut xkb_compose_state) -> State
pub unsafe fn from_raw_ptr(ptr: *mut xkb_compose_state) -> State
§Safety
ptr must be a valid pointer to xkb_compose_state
pub fn get_raw_ptr(&self) -> *mut xkb_compose_state
pub fn new(table: &Table, flags: StateFlags) -> State
pub fn compose_table(&self) -> Table
pub fn feed(&mut self, keysym: Keysym) -> FeedResult
pub fn reset(&mut self)
pub fn status(&self) -> Status
pub fn utf8(&self) -> Option<String>
pub fn keysym(&self) -> Option<Keysym>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for State
impl RefUnwindSafe for State
impl !Send for State
impl !Sync for State
impl Unpin for State
impl UnwindSafe for State
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