[−][src]Struct jni_glue::jchar
Represents a Java "UTF16" code unit. This is not guaranteed to actually be a valid code unit, and should be treated much like wchar_t is treated by Rust - encoded possibly as WTF8 rather than UTF8, laden with error checking when converting to Rust character/string types, etc.
Trait Implementations
impl Clone for jchar
[src]
impl Copy for jchar
[src]
impl Debug for jchar
[src]
impl Default for jchar
[src]
impl Eq for jchar
[src]
impl Hash for jchar
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl JniType for jchar
[src]
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
[src]
impl Ord for jchar
[src]
fn cmp(&self, other: &jchar) -> Ordering
[src]
fn max(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
1.21.0[src]
fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<jchar> for jchar
[src]
impl PartialOrd<jchar> for jchar
[src]
fn partial_cmp(&self, other: &jchar) -> Option<Ordering>
[src]
fn lt(&self, other: &jchar) -> bool
[src]
fn le(&self, other: &jchar) -> bool
[src]
fn gt(&self, other: &jchar) -> bool
[src]
fn ge(&self, other: &jchar) -> bool
[src]
impl PrimitiveArray<jchar> for CharArray
[src]
fn new<'env>(env: &'env Env, size: usize) -> Local<'env, Self>
[src]
fn from<'env>(env: &'env Env, elements: &[jchar]) -> Local<'env, Self>
[src]
fn len(&self) -> usize
[src]
fn get_region(&self, start: usize, elements: &mut [jchar])
[src]
fn set_region(&self, start: usize, elements: &[jchar])
[src]
fn get_region_as_vec(&self, range: impl RangeBounds<usize>) -> Vec<T>
[src]
fn as_vec(&self) -> Vec<T>
[src]
impl StructuralEq for jchar
[src]
impl StructuralPartialEq for jchar
[src]
Auto Trait Implementations
impl RefUnwindSafe for jchar
impl Send for jchar
impl Sync for jchar
impl Unpin for jchar
impl UnwindSafe for jchar
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,