Struct java_spaghetti::Return
source · pub struct Return<'env, T: ReferenceType> { /* private fields */ }
Expand description
FFI: Use Return<java::lang::Object> instead of jobject. This represents a (null?) JNI function call return value.
Unlike most Java reference types from this library, this can be null.
FFI safe where a jobject is safe, assuming you match your types correctly.
Implementations§
Auto Trait Implementations§
impl<'env, T> Freeze for Return<'env, T>where
T: JniType + 'static,
impl<'env, T> RefUnwindSafe for Return<'env, T>where
T: JniType + 'static + RefUnwindSafe,
impl<'env, T> !Send for Return<'env, T>
impl<'env, T> !Sync for Return<'env, T>
impl<'env, T> Unpin for Return<'env, T>where
T: JniType + 'static,
impl<'env, T> UnwindSafe for Return<'env, T>where
T: JniType + 'static + RefUnwindSafe,
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