pub unsafe trait AsArg<T>: Sized + AsJValue {
// Required method
fn as_arg(&self) -> jobject;
}Expand description
A marker trait indicating this is a valid JNI reference type for Java method argument
type T, this can be null.
§Safety
It should be implemented automatically by java_oxide.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.