Enum jni::JNIVersion
source · pub enum JNIVersion {
V1,
V2,
V4,
V6,
V8,
Invalid(i32),
}
Expand description
JNI Version
This maps to the jni_sys::JNI_VERSION_1_*
constants.
Variants§
Trait Implementations§
source§impl Clone for JNIVersion
impl Clone for JNIVersion
source§fn clone(&self) -> JNIVersion
fn clone(&self) -> JNIVersion
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for JNIVersion
impl Debug for JNIVersion
source§impl From<JNIVersion> for i32
impl From<JNIVersion> for i32
source§fn from(other: JNIVersion) -> Self
fn from(other: JNIVersion) -> Self
Converts to this type from the input type.