Trait rust_jni::JavaType[][src]

pub trait JavaType { }

A trait that represents Rust types that are mappable to JNI types. This trait has to be implemented for all types that need to be passed as arguments to or returned from Java functions.

THIS TRAIT SHOULD NOT BE USED MANUALLY.

This trait should only be implemented and used by generated code.

Implementations on Foreign Types

impl JavaType for bool
[src]

Make bool mappable to jboolean.

impl JavaType for char
[src]

Make char mappable to jchar.

impl JavaType for ()
[src]

Make () mappable to () .

impl JavaType for u8
[src]

Make u8 mappable to jbyte .

impl JavaType for i16
[src]

Make i16 mappable to jshort .

impl JavaType for i32
[src]

Make i32 mappable to jint .

impl JavaType for i64
[src]

Make i64 mappable to jlong .

impl JavaType for f64
[src]

Make f64 mappable to jdouble .

impl<'a, T: ?Sized> JavaType for &'a T where
    T: JavaType
[src]

Make references mappable to JNI types of their referenced types.

Implementors