Home
last modified time | relevance | path

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

/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 { 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()