pub enum JniRustType {
Show 13 variants Void, String(String), StringArray(Vec<String>), Boolean(bool), Int(i64), IntArray(Vec<i64>), ByteArray(Vec<u8>), Float(f32), Double(f64), FloatArray(Vec<f32>), DoubleArray(Vec<f64>), ObjectArray(Vec<JniRustType>), Map(HashMap<String, JniRustType>),
}

Variants

Void

String(String)

StringArray(Vec<String>)

Boolean(bool)

Int(i64)

IntArray(Vec<i64>)

ByteArray(Vec<u8>)

Float(f32)

Double(f64)

FloatArray(Vec<f32>)

DoubleArray(Vec<f64>)

ObjectArray(Vec<JniRustType>)

Map(HashMap<String, JniRustType>)

Implementations

Try to unwrap to Void.

Try to unwrap to Boolean.

Try to unwrap to String.

Try to unwrap to StringArray.

Try to unwrap to Int.

Try to unwrap to IntArray.

Try to unwrap to ByteArray.

Try to unwrap to Float.

Try to unwrap to Double.

Try to unwrap to FloatArray.

Try to unwrap to DoubleArray.

Try to unwrap to ObjectArray.

Try to unwrap to Map.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Look up the concrete type from the JVM.

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.