Trait robusta_jni::convert::Signature[][src]

pub trait Signature {
    const SIG_TYPE: &'static str;
}

This trait provides type signatures for types. It is necessary to support conversions to/from Java types.

While you can implement this trait manually, you should probably use the derive macro.

The derive macro requires a #[package()] attribute on implementing structs (most likely you already have that).

Associated Constants

const SIG_TYPE: &'static str[src]

Java type signature for the implementing type.

Loading content...

Implementations on Foreign Types

impl Signature for Box<[bool]>[src]

impl Signature for String[src]

impl Signature for bool[src]

impl Signature for char[src]

impl<T> Signature for Vec<T>[src]

impl Signature for jboolean[src]

impl Signature for jbyte[src]

impl Signature for jchar[src]

impl Signature for jdouble[src]

impl Signature for jfloat[src]

impl Signature for jint[src]

impl Signature for jlong[src]

impl Signature for jshort[src]

impl Signature for ()[src]

impl<'env> Signature for JString<'env>[src]

Loading content...

Implementors

Loading content...