[]Struct jni_android_sys::android::text::method::SingleLineTransformationMethod

#[repr(transparent)]
pub struct SingleLineTransformationMethod(_);

public class SingleLineTransformationMethod

Required feature: "android-text-method-SingleLineTransformationMethod"

Methods

impl SingleLineTransformationMethod

pub fn new<'env>(
    __jni_env: &'env Env
) -> Result<Local<'env, SingleLineTransformationMethod>, Local<'env, Throwable>>
[src]

pub fn getInstance<'env>(
    __jni_env: &'env Env
) -> Result<Option<Local<'env, SingleLineTransformationMethod>>, Local<'env, Throwable>>
[src]

getInstance

Required features: "android-text-method-SingleLineTransformationMethod"

Methods from Deref<Target = ReplacementTransformationMethod>

pub fn getTransformation<'env>(
    &'env self,
    arg0: impl Into<Option<&'env CharSequence>>,
    arg1: impl Into<Option<&'env View>>
) -> Result<Option<Local<'env, CharSequence>>, Local<'env, Throwable>>
[src]

getTransformation

Required features: "android-view-View", "java-lang-CharSequence"

pub fn onFocusChanged<'env>(
    &'env self,
    arg0: impl Into<Option<&'env View>>,
    arg1: impl Into<Option<&'env CharSequence>>,
    arg2: bool,
    arg3: i32,
    arg4: impl Into<Option<&'env Rect>>
) -> Result<(), Local<'env, Throwable>>
[src]

onFocusChanged

Required features: "android-graphics-Rect", "android-view-View", "java-lang-CharSequence"

Trait Implementations

impl AsJValue for SingleLineTransformationMethod

impl AsValidJObjectAndEnv for SingleLineTransformationMethod

impl Deref for SingleLineTransformationMethod

type Target = ReplacementTransformationMethod

The resulting type after dereferencing.

impl JniType for SingleLineTransformationMethod

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> From<T> for T[src]

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

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.