pub struct ImeSurroundingResponse {
pub entity: Entity,
pub text: Arc<str>,
pub anchor_byte: usize,
pub cursor_byte: usize,
}Expand description
Core -> backend: surrounding-text reply. Backend forwards to the OS IME (Wayland text-input-v3 / IBus).
Fields§
§entity: EntityTarget editable.
text: Arc<str>Snapshot of the buffer text.
anchor_byte: usizeSelection anchor byte offset (== cursor when no selection).
cursor_byte: usizeCursor byte offset.
Trait Implementations§
Source§impl Clone for ImeSurroundingResponse
impl Clone for ImeSurroundingResponse
Source§fn clone(&self) -> ImeSurroundingResponse
fn clone(&self) -> ImeSurroundingResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ImeSurroundingResponse
impl Debug for ImeSurroundingResponse
impl Message for ImeSurroundingResponse
Auto Trait Implementations§
impl Freeze for ImeSurroundingResponse
impl RefUnwindSafe for ImeSurroundingResponse
impl Send for ImeSurroundingResponse
impl Sync for ImeSurroundingResponse
impl Unpin for ImeSurroundingResponse
impl UnsafeUnpin for ImeSurroundingResponse
impl UnwindSafe for ImeSurroundingResponse
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> IntoResult<T> for T
impl<T> IntoResult<T> for T
§fn into_result(self) -> Result<T, RunSystemError>
fn into_result(self) -> Result<T, RunSystemError>
Converts this type into the system output type.