Consumes the `Jvm` and returns its `JNIEnv`
(self)
| 1252 | |
| 1253 | /// Consumes the `Jvm` and returns its `JNIEnv` |
| 1254 | pub fn into_raw(self) -> *mut JNIEnv { |
| 1255 | debug("Getting the raw JNIEnv from the Jvm"); |
| 1256 | |
| 1257 | self.jni_env |
| 1258 | } |
| 1259 | |
| 1260 | /// Returns the Rust representation of the provided instance, boxed |
| 1261 | pub fn to_rust_boxed<T>(&self, instance: Instance) -> errors::Result<Box<T>> |