Struct jni::objects::JStaticFieldID [−][src]
#[repr(transparent)]pub struct JStaticFieldID<'a> { /* fields omitted */ }
Expand description
Wrapper around sys::jstaticfieldid
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
jstaticfieldid
.
Implementations
Unwrap to the internal jni type.
Trait Implementations
Look up the concrete type from the JVM.
Auto Trait Implementations
impl<'a> RefUnwindSafe for JStaticFieldID<'a>
impl<'a> !Send for JStaticFieldID<'a>
impl<'a> !Sync for JStaticFieldID<'a>
impl<'a> Unpin for JStaticFieldID<'a>
impl<'a> UnwindSafe for JStaticFieldID<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more