pub trait TypeArray {
fn get(
env: &JNIEnv<'_>,
obj: JObject<'_>,
is_copy: &mut jboolean
) -> Result<*mut Self>;
fn release(
env: &JNIEnv<'_>,
obj: JObject<'_>,
ptr: NonNull<Self>,
mode: i32
) -> Result<()>;
}
Expand description
Trait to define type array access/release
Required methods
getter
Implementors
impl TypeArray for jboolean
$jni_type array access/release impl
impl TypeArray for jbyte
$jni_type array access/release impl
impl TypeArray for jchar
$jni_type array access/release impl
impl TypeArray for jdouble
$jni_type array access/release impl
impl TypeArray for jfloat
$jni_type array access/release impl
impl TypeArray for jint
$jni_type array access/release impl
impl TypeArray for jlong
$jni_type array access/release impl
impl TypeArray for jshort
$jni_type array access/release impl