[][src]Struct wayland_protocols::unstable::input_method::v1::server::zwp_input_method_context_v1::ZwpInputMethodContextV1

pub struct ZwpInputMethodContextV1(_);

Implementations

impl ZwpInputMethodContextV1[src]

pub fn surrounding_text(&self, text: String, cursor: u32, anchor: u32)[src]

surrounding text event

The plain surrounding text around the input position. Cursor is the position in bytes within the surrounding text relative to the beginning of the text. Anchor is the position in bytes of the selection anchor within the surrounding text relative to the beginning of the text. If there is no selected text then anchor is the same as cursor.

pub fn reset(&self)[src]

pub fn content_type(&self, hint: u32, purpose: u32)[src]

pub fn invoke_action(&self, button: u32, index: u32)[src]

pub fn commit_state(&self, serial: u32)[src]

pub fn preferred_language(&self, language: String)[src]

Trait Implementations

impl AsRef<Resource<ZwpInputMethodContextV1>> for ZwpInputMethodContextV1[src]

impl Clone for ZwpInputMethodContextV1[src]

impl Debug for ZwpInputMethodContextV1[src]

impl Eq for ZwpInputMethodContextV1[src]

impl From<Resource<ZwpInputMethodContextV1>> for ZwpInputMethodContextV1[src]

impl From<ZwpInputMethodContextV1> for Resource<ZwpInputMethodContextV1>[src]

impl Interface for ZwpInputMethodContextV1[src]

type Request = Request

Set of requests associated to this interface Read more

type Event = Event

Set of events associated to this interface Read more

impl PartialEq<ZwpInputMethodContextV1> for ZwpInputMethodContextV1[src]

impl StructuralEq for ZwpInputMethodContextV1[src]

impl StructuralPartialEq for ZwpInputMethodContextV1[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Downcast for T where
    T: Any

impl<T> DowncastSync for T where
    T: Send + Sync + Any

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.