Struct rs::imservice::IMProtocolState
source · [−]struct IMProtocolState {
surrounding_text: CString,
surrounding_cursor: u32,
content_purpose: ContentPurpose,
content_hint: ContentHint,
text_change_cause: ChangeCause,
active: bool,
}
Expand description
Describes the desired state of the input method as requested by the server
Fields
surrounding_text: CString
surrounding_cursor: u32
content_purpose: ContentPurpose
content_hint: ContentHint
text_change_cause: ChangeCause
active: bool
Trait Implementations
sourceimpl Clone for IMProtocolState
impl Clone for IMProtocolState
sourcefn clone(&self) -> IMProtocolState
fn clone(&self) -> IMProtocolState
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Default for IMProtocolState
impl Default for IMProtocolState
sourcefn default() -> IMProtocolState
fn default() -> IMProtocolState
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for IMProtocolState
impl Send for IMProtocolState
impl Sync for IMProtocolState
impl Unpin for IMProtocolState
impl UnwindSafe for IMProtocolState
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more