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