[]Struct jni_android_sys::java::lang::invoke::MutableCallSite

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

public class MutableCallSite

Required feature: "java-lang-invoke-MutableCallSite"

Methods

impl MutableCallSite

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

MutableCallSite

Required features: "java-lang-invoke-MethodType"

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

MutableCallSite

Required features: "java-lang-invoke-MethodHandle"

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

getTarget

Required features: "java-lang-invoke-MethodHandle"

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

setTarget

Required features: "java-lang-invoke-MethodHandle"

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

dynamicInvoker

Required features: "java-lang-invoke-MethodHandle"

Methods from Deref<Target = CallSite>

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

type

Required features: "java-lang-invoke-MethodType"

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

getTarget

Required features: "java-lang-invoke-MethodHandle"

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

setTarget

Required features: "java-lang-invoke-MethodHandle"

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

dynamicInvoker

Required features: "java-lang-invoke-MethodHandle"

Trait Implementations

impl AsJValue for MutableCallSite

impl AsValidJObjectAndEnv for MutableCallSite

impl Deref for MutableCallSite

type Target = CallSite

The resulting type after dereferencing.

impl JniType for MutableCallSite

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.