Struct jni::objects::JStaticMethodID [−][src]
#[repr(transparent)]pub struct JStaticMethodID<'a> { /* fields omitted */ }
Expand description
Wrapper around sys::jmethodid
that adds a lifetime. This prevents it from
outliving the context in which it was acquired and getting GC’d out from
under us. It matches C’s representation of the raw pointer, so it can be
used in any of the extern function argument positions that would take a
jmethodid
. This represents static methods only since they require a
different set of JNI signatures.
Implementations
Unwrap to the internal jni type.
Trait Implementations
Look up the concrete type from the JVM.
Auto Trait Implementations
impl<'a> RefUnwindSafe for JStaticMethodID<'a>
impl<'a> !Send for JStaticMethodID<'a>
impl<'a> !Sync for JStaticMethodID<'a>
impl<'a> Unpin for JStaticMethodID<'a>
impl<'a> UnwindSafe for JStaticMethodID<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more