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§
Source§impl Clone for IMProtocolState
impl Clone for IMProtocolState
Source§fn clone(&self) -> IMProtocolState
fn clone(&self) -> IMProtocolState
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for IMProtocolState
impl Default for IMProtocolState
Source§fn default() -> IMProtocolState
fn default() -> IMProtocolState
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for IMProtocolState
impl RefUnwindSafe for IMProtocolState
impl Send for IMProtocolState
impl Sync for IMProtocolState
impl Unpin for IMProtocolState
impl UnwindSafe for IMProtocolState
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
type NoneType = T
§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.