[]Struct jni_android_sys::java::lang::reflect::Array

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

public final class Array

Required feature: "java-lang-reflect-Array"

Methods

impl Array

pub fn newInstance_Class_int<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Class>>,
    arg1: i32
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
[src]

newInstance

Required features: "java-lang-Class", "java-lang-Object"

pub fn newInstance_Class_int_array<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Class>>,
    arg1: impl Into<Option<&'env IntArray>>
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
[src]

newInstance

Required features: "java-lang-Class", "java-lang-Object"

pub fn getLength<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Object>>
) -> Result<i32, Local<'env, Throwable>>
[src]

getLength

Required features: "java-lang-Object"

pub fn get<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Object>>,
    arg1: i32
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
[src]

get

Required features: "java-lang-Object"

pub fn getBoolean<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Object>>,
    arg1: i32
) -> Result<bool, Local<'env, Throwable>>
[src]

getBoolean

Required features: "java-lang-Object"

pub fn getByte<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Object>>,
    arg1: i32
) -> Result<i8, Local<'env, Throwable>>
[src]

getByte

Required features: "java-lang-Object"

pub fn getChar<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Object>>,
    arg1: i32
) -> Result<jchar, Local<'env, Throwable>>
[src]

getChar

Required features: "java-lang-Object"

pub fn getShort<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Object>>,
    arg1: i32
) -> Result<i16, Local<'env, Throwable>>
[src]

getShort

Required features: "java-lang-Object"

pub fn getInt<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Object>>,
    arg1: i32
) -> Result<i32, Local<'env, Throwable>>
[src]

getInt

Required features: "java-lang-Object"

pub fn getLong<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Object>>,
    arg1: i32
) -> Result<i64, Local<'env, Throwable>>
[src]

getLong

Required features: "java-lang-Object"

pub fn getFloat<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Object>>,
    arg1: i32
) -> Result<f32, Local<'env, Throwable>>
[src]

getFloat

Required features: "java-lang-Object"

pub fn getDouble<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Object>>,
    arg1: i32
) -> Result<f64, Local<'env, Throwable>>
[src]

getDouble

Required features: "java-lang-Object"

pub fn set<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Object>>,
    arg1: i32,
    arg2: impl Into<Option<&'env Object>>
) -> Result<(), Local<'env, Throwable>>
[src]

set

Required features: "java-lang-Object"

pub fn setBoolean<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Object>>,
    arg1: i32,
    arg2: bool
) -> Result<(), Local<'env, Throwable>>
[src]

setBoolean

Required features: "java-lang-Object"

pub fn setByte<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Object>>,
    arg1: i32,
    arg2: i8
) -> Result<(), Local<'env, Throwable>>
[src]

setByte

Required features: "java-lang-Object"

pub fn setChar<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Object>>,
    arg1: i32,
    arg2: jchar
) -> Result<(), Local<'env, Throwable>>
[src]

setChar

Required features: "java-lang-Object"

pub fn setShort<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Object>>,
    arg1: i32,
    arg2: i16
) -> Result<(), Local<'env, Throwable>>
[src]

setShort

Required features: "java-lang-Object"

pub fn setInt<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Object>>,
    arg1: i32,
    arg2: i32
) -> Result<(), Local<'env, Throwable>>
[src]

setInt

Required features: "java-lang-Object"

pub fn setLong<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Object>>,
    arg1: i32,
    arg2: i64
) -> Result<(), Local<'env, Throwable>>
[src]

setLong

Required features: "java-lang-Object"

pub fn setFloat<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Object>>,
    arg1: i32,
    arg2: f32
) -> Result<(), Local<'env, Throwable>>
[src]

setFloat

Required features: "java-lang-Object"

pub fn setDouble<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Object>>,
    arg1: i32,
    arg2: f64
) -> Result<(), Local<'env, Throwable>>
[src]

setDouble

Required features: "java-lang-Object"

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 Array

impl AsValidJObjectAndEnv for Array

impl Deref for Array

type Target = Object

The resulting type after dereferencing.

impl JniType for Array

Auto Trait Implementations

impl RefUnwindSafe for Array

impl !Send for Array

impl !Sync for Array

impl Unpin for Array

impl UnwindSafe for Array

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.