[−][src]Struct wayland_protocols::unstable::input_method::v1::server::zwp_input_method_context_v1::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]
fn clone(&self) -> ZwpInputMethodContextV1
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[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]
fn from(value: ZwpInputMethodContextV1) -> Self
[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
const NAME: &'static str
[src]
const VERSION: u32
[src]
fn c_interface() -> *const wl_interface
[src]
impl PartialEq<ZwpInputMethodContextV1> for ZwpInputMethodContextV1
[src]
fn eq(&self, other: &ZwpInputMethodContextV1) -> bool
[src]
fn ne(&self, other: &ZwpInputMethodContextV1) -> bool
[src]
impl StructuralEq for ZwpInputMethodContextV1
[src]
impl StructuralPartialEq for ZwpInputMethodContextV1
[src]
Auto Trait Implementations
impl !RefUnwindSafe for ZwpInputMethodContextV1
impl Send for ZwpInputMethodContextV1
impl Sync for ZwpInputMethodContextV1
impl Unpin for ZwpInputMethodContextV1
impl !UnwindSafe for ZwpInputMethodContextV1
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Downcast for T where
T: Any,
T: Any,
fn into_any(self: Box<T>) -> Box<dyn Any + 'static>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
fn as_any(&self) -> &(dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
impl<T> DowncastSync for T where
T: Send + Sync + Any,
T: Send + Sync + Any,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,