[][src]Struct jni_glue::jchar

#[repr(transparent)]
pub struct jchar(pub 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]

impl JniType for jchar[src]

impl Ord for jchar[src]

impl PartialEq<jchar> for jchar[src]

impl PartialOrd<jchar> for jchar[src]

impl PrimitiveArray<jchar> for CharArray[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]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.