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]
impl JavaType for bool
impl JavaType for char
[src]
impl JavaType for char
impl JavaType for ()
[src]
impl JavaType for ()
impl JavaType for u8
[src]
impl JavaType for u8
impl JavaType for i16
[src]
impl JavaType for i16
impl JavaType for i32
[src]
impl JavaType for i32
impl JavaType for i64
[src]
impl JavaType for i64
impl JavaType for f64
[src]
impl JavaType for f64
impl<'a, T: ?Sized> JavaType for &'a T where
T: JavaType,
[src]
impl<'a, T: ?Sized> JavaType for &'a T where
T: JavaType,
Make references mappable to JNI types of their referenced types.