Struct jni::strings::JNIString[][src]

pub struct JNIString { /* fields omitted */ }
Expand description

Wrapper for std::ffi::CString that also takes care of encoding between UTF-8 and Java’s Modified UTF-8. As with CString, this implements Deref to &JNIStr.

Implementations

Get the borrowed version of the JNIString. Equivalent to CString::borrowed.

Methods from Deref<Target = JNIStr>

Trait Implementations

Immutably borrows from an owned value. Read more

The resulting type after dereferencing.

Dereferences the value.

Look up the concrete type from the JVM.

Performs the conversion.

Performs the conversion.

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

Performs the conversion.

Performs the conversion.

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.