Home
last modified time | relevance | path

Searched defs:JNIStr (Results 1 – 4 of 4) sorted by relevance

/external/rust/crates/jni/0.20.0/src/wrapper/strings/
Dffi_str.rs21 pub struct JNIStr { struct
26 type Target = JNIStr; argument
33 impl ::std::ops::Deref for JNIStr { implementation
75 pub fn borrowed(&self) -> &JNIStr { in borrowed()
80 impl JNIStr { implementation
87 pub unsafe fn from_ptr<'a>(ptr: *const c_char) -> &'a JNIStr { in from_ptr()
94 fn borrow(&self) -> &JNIStr { in borrow()
99 impl ToOwned for JNIStr { implementation
Djava_str.rs44 impl<'a: 'b, 'b: 'c, 'c> From<&'c JavaStr<'a, 'b>> for &'c JNIStr { implementation
45 fn from(other: &'c JavaStr) -> &'c JNIStr { in from()
/external/rust/crates/jni/src/wrapper/strings/
Dffi_str.rs21 pub struct JNIStr { struct
26 type Target = JNIStr; argument
33 impl ::std::ops::Deref for JNIStr { implementation
75 pub fn borrowed(&self) -> &JNIStr { in borrowed()
80 impl JNIStr { impl
87 pub unsafe fn from_ptr<'jni_str>(ptr: *const c_char) -> &'jni_str JNIStr { in from_ptr()
94 fn borrow(&self) -> &JNIStr { in borrow()
99 impl ToOwned for JNIStr { implementation
Djava_str.rs172 impl<'local, 'other_local: 'obj_ref, 'obj_ref: 'java_str, 'java_str>
175 fn from(other: &'java_str JavaStr) -> &'java_str JNIStr { in from()