pub struct Env<'a> { /* private fields */ }Expand description
A wrapper around the JNI environment
Implementations§
source§impl<'a> Env<'a>
impl<'a> Env<'a>
sourcepub fn get_jni_env(&self) -> JNIEnv<'_>
pub fn get_jni_env(&self) -> JNIEnv<'_>
Gets the native interface
Trait Implementations§
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Env<'a>
impl<'a> !Send for Env<'a>
impl<'a> !Sync for Env<'a>
impl<'a> Unpin for Env<'a>
impl<'a> UnwindSafe for Env<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more