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

pub struct JNIString { /* fields omitted */ }

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.

Methods

impl JNIString
[src]

Methods from Deref<Target=JNIStr>

Trait Implementations

impl Deref for JNIString
[src]

The resulting type after dereferencing

The method called to dereference a value

impl<T> From<T> for JNIString where T: AsRef<str>
[src]

Performs the conversion.

impl Borrow<JNIStr> for JNIString
[src]

Immutably borrows from an owned value. Read more