[]Struct jni_android_sys::android::view::ViewStructure

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

public class ViewStructure

Required feature: "android-view-ViewStructure"

Methods

impl ViewStructure

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

pub fn setId<'env>(
    &'env self,
    arg0: i32,
    arg1: impl Into<Option<&'env String>>,
    arg2: impl Into<Option<&'env String>>,
    arg3: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]

setId

Required features: "java-lang-String"

pub fn setDimens<'env>(
    &'env self,
    arg0: i32,
    arg1: i32,
    arg2: i32,
    arg3: i32,
    arg4: i32,
    arg5: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn setTransformation<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Matrix>>
) -> Result<(), Local<'env, Throwable>>
[src]

setTransformation

Required features: "android-graphics-Matrix"

pub fn setElevation<'env>(
    &'env self,
    arg0: f32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn setAlpha<'env>(
    &'env self,
    arg0: f32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn setVisibility<'env>(
    &'env self,
    arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn setEnabled<'env>(
    &'env self,
    arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn setClickable<'env>(
    &'env self,
    arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn setLongClickable<'env>(
    &'env self,
    arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn setContextClickable<'env>(
    &'env self,
    arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn setFocusable<'env>(
    &'env self,
    arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn setFocused<'env>(
    &'env self,
    arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn setAccessibilityFocused<'env>(
    &'env self,
    arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn setCheckable<'env>(
    &'env self,
    arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn setChecked<'env>(
    &'env self,
    arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn setSelected<'env>(
    &'env self,
    arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn setActivated<'env>(
    &'env self,
    arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn setOpaque<'env>(
    &'env self,
    arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn setClassName<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]

setClassName

Required features: "java-lang-String"

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

setContentDescription

Required features: "java-lang-CharSequence"

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

setText

Required features: "java-lang-CharSequence"

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

setText

Required features: "java-lang-CharSequence"

pub fn setTextStyle<'env>(
    &'env self,
    arg0: f32,
    arg1: i32,
    arg2: i32,
    arg3: i32
) -> Result<(), Local<'env, Throwable>>
[src]

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

pub fn setTextIdEntry<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]

setTextIdEntry

Required features: "java-lang-String"

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

setHint

Required features: "java-lang-CharSequence"

pub fn getText<'env>(
    &'env self
) -> Result<Option<Local<'env, CharSequence>>, Local<'env, Throwable>>
[src]

getText

Required features: "java-lang-CharSequence"

pub fn getTextSelectionStart<'env>(
    &'env self
) -> Result<i32, Local<'env, Throwable>>
[src]

pub fn getTextSelectionEnd<'env>(
    &'env self
) -> Result<i32, Local<'env, Throwable>>
[src]

pub fn getHint<'env>(
    &'env self
) -> Result<Option<Local<'env, CharSequence>>, Local<'env, Throwable>>
[src]

getHint

Required features: "java-lang-CharSequence"

pub fn getExtras<'env>(
    &'env self
) -> Result<Option<Local<'env, Bundle>>, Local<'env, Throwable>>
[src]

getExtras

Required features: "android-os-Bundle"

pub fn hasExtras<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>[src]

pub fn setChildCount<'env>(
    &'env self,
    arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn addChildCount<'env>(
    &'env self,
    arg0: i32
) -> Result<i32, Local<'env, Throwable>>
[src]

pub fn getChildCount<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

pub fn newChild<'env>(
    &'env self,
    arg0: i32
) -> Result<Option<Local<'env, ViewStructure>>, Local<'env, Throwable>>
[src]

newChild

Required features: "android-view-ViewStructure"

pub fn asyncNewChild<'env>(
    &'env self,
    arg0: i32
) -> Result<Option<Local<'env, ViewStructure>>, Local<'env, Throwable>>
[src]

asyncNewChild

Required features: "android-view-ViewStructure"

pub fn getAutofillId<'env>(
    &'env self
) -> Result<Option<Local<'env, AutofillId>>, Local<'env, Throwable>>
[src]

getAutofillId

Required features: "android-view-autofill-AutofillId"

pub fn setAutofillId_AutofillId<'env>(
    &'env self,
    arg0: impl Into<Option<&'env AutofillId>>
) -> Result<(), Local<'env, Throwable>>
[src]

setAutofillId

Required features: "android-view-autofill-AutofillId"

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

setAutofillId

Required features: "android-view-autofill-AutofillId"

pub fn setAutofillType<'env>(
    &'env self,
    arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn setAutofillHints<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ObjectArray<String, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
[src]

setAutofillHints

Required features: "java-lang-String"

pub fn setAutofillValue<'env>(
    &'env self,
    arg0: impl Into<Option<&'env AutofillValue>>
) -> Result<(), Local<'env, Throwable>>
[src]

setAutofillValue

Required features: "android-view-autofill-AutofillValue"

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

setAutofillOptions

Required features: "java-lang-CharSequence"

pub fn setImportantForAutofill<'env>(
    &'env self,
    arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn setInputType<'env>(
    &'env self,
    arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn setDataIsSensitive<'env>(
    &'env self,
    arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn setMinTextEms<'env>(
    &'env self,
    arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn setMaxTextEms<'env>(
    &'env self,
    arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn setMaxTextLength<'env>(
    &'env self,
    arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn asyncCommit<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

pub fn setWebDomain<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]

setWebDomain

Required features: "java-lang-String"

pub fn setLocaleList<'env>(
    &'env self,
    arg0: impl Into<Option<&'env LocaleList>>
) -> Result<(), Local<'env, Throwable>>
[src]

setLocaleList

Required features: "android-os-LocaleList"

pub fn newHtmlInfoBuilder<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, ViewStructure_HtmlInfo_Builder>>, Local<'env, Throwable>>
[src]

newHtmlInfoBuilder

Required features: "android-view-ViewStructure_HtmlInfo_Builder", "java-lang-String"

pub fn setHtmlInfo<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ViewStructure_HtmlInfo>>
) -> Result<(), Local<'env, Throwable>>
[src]

setHtmlInfo

Required features: "android-view-ViewStructure_HtmlInfo"

Methods from Deref<Target = Object>

pub fn getClass<'env>(
    &'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
[src]

getClass

Required features: "java-lang-Class"

pub fn hashCode<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

pub fn equals<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
[src]

equals

Required features: "java-lang-Object"

pub fn toString<'env>(
    &'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

toString

Required features: "java-lang-String"

pub fn notify<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

pub fn notifyAll<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

pub fn wait_long<'env>(
    &'env self,
    arg0: i64
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn wait_long_int<'env>(
    &'env self,
    arg0: i64,
    arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn wait<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

Trait Implementations

impl AsJValue for ViewStructure

impl AsValidJObjectAndEnv for ViewStructure

impl Deref for ViewStructure

type Target = Object

The resulting type after dereferencing.

impl JniType for ViewStructure

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.