[]Struct jni_android_sys::android::util::AttributeSet

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

public interface AttributeSet

Required feature: "android-util-AttributeSet"

Methods

impl AttributeSet

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

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

getAttributeNamespace

Required features: "java-lang-String"

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

getAttributeName

Required features: "java-lang-String"

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

getAttributeValue

Required features: "java-lang-String"

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

getAttributeValue

Required features: "java-lang-String"

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

getPositionDescription

Required features: "java-lang-String"

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

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

getAttributeListValue

Required features: "java-lang-String"

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

getAttributeBooleanValue

Required features: "java-lang-String"

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

getAttributeResourceValue

Required features: "java-lang-String"

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

getAttributeIntValue

Required features: "java-lang-String"

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

getAttributeUnsignedIntValue

Required features: "java-lang-String"

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

getAttributeFloatValue

Required features: "java-lang-String"

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

getAttributeListValue

Required features: "java-lang-String"

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

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

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

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

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

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

getIdAttribute

Required features: "java-lang-String"

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

getClassAttribute

Required features: "java-lang-String"

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

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

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 AttributeSet

impl AsRef<AttributeSet> for XmlResourceParser

impl AsValidJObjectAndEnv for AttributeSet

impl Deref for AttributeSet

type Target = Object

The resulting type after dereferencing.

impl JniType for AttributeSet

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.