[]Struct jni_android_sys::dalvik::system::PathClassLoader

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

public class PathClassLoader

Required feature: "dalvik-system-PathClassLoader"

Methods

impl PathClassLoader

pub fn new_String_ClassLoader<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>,
    arg1: impl Into<Option<&'env ClassLoader>>
) -> Result<Local<'env, PathClassLoader>, Local<'env, Throwable>>
[src]

PathClassLoader

Required features: "java-lang-ClassLoader", "java-lang-String"

pub fn new_String_String_ClassLoader<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>,
    arg1: impl Into<Option<&'env String>>,
    arg2: impl Into<Option<&'env ClassLoader>>
) -> Result<Local<'env, PathClassLoader>, Local<'env, Throwable>>
[src]

PathClassLoader

Required features: "java-lang-ClassLoader", "java-lang-String"

Methods from Deref<Target = BaseDexClassLoader>

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

findLibrary

Required features: "java-lang-String"

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

toString

Required features: "java-lang-String"

Trait Implementations

impl AsJValue for PathClassLoader

impl AsValidJObjectAndEnv for PathClassLoader

impl Deref for PathClassLoader

type Target = BaseDexClassLoader

The resulting type after dereferencing.

impl JniType for PathClassLoader

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.