[−]Struct jni_android_sys::java::lang::invoke::VolatileCallSite
public class VolatileCallSite
Required feature: "java-lang-invoke-VolatileCallSite"
Methods
impl VolatileCallSite
pub fn new_MethodType<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env MethodType>>
) -> Result<Local<'env, VolatileCallSite>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env MethodType>>
) -> Result<Local<'env, VolatileCallSite>, Local<'env, Throwable>>
Required features: "java-lang-invoke-MethodType"
pub fn new_MethodHandle<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env MethodHandle>>
) -> Result<Local<'env, VolatileCallSite>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env MethodHandle>>
) -> Result<Local<'env, VolatileCallSite>, Local<'env, Throwable>>
Required features: "java-lang-invoke-MethodHandle"
pub fn getTarget<'env>(
&'env self
) -> Result<Option<Local<'env, MethodHandle>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, MethodHandle>>, Local<'env, Throwable>>
Required features: "java-lang-invoke-MethodHandle"
pub fn setTarget<'env>(
&'env self,
arg0: impl Into<Option<&'env MethodHandle>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env MethodHandle>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-invoke-MethodHandle"
pub fn dynamicInvoker<'env>(
&'env self
) -> Result<Option<Local<'env, MethodHandle>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, MethodHandle>>, Local<'env, Throwable>>
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]
&'env self
) -> Result<Option<Local<'env, MethodType>>, Local<'env, Throwable>>
Required features: "java-lang-invoke-MethodType"
pub fn getTarget<'env>(
&'env self
) -> Result<Option<Local<'env, MethodHandle>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, MethodHandle>>, Local<'env, Throwable>>
Required features: "java-lang-invoke-MethodHandle"
pub fn setTarget<'env>(
&'env self,
arg0: impl Into<Option<&'env MethodHandle>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env MethodHandle>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-invoke-MethodHandle"
pub fn dynamicInvoker<'env>(
&'env self
) -> Result<Option<Local<'env, MethodHandle>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, MethodHandle>>, Local<'env, Throwable>>
Required features: "java-lang-invoke-MethodHandle"
Trait Implementations
impl AsJValue for VolatileCallSite
impl AsValidJObjectAndEnv for VolatileCallSite
impl Deref for VolatileCallSite
impl JniType for VolatileCallSite
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for VolatileCallSite
impl !Send for VolatileCallSite
impl !Sync for VolatileCallSite
impl Unpin for VolatileCallSite
impl UnwindSafe for VolatileCallSite
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,