Trait JTypeInfo

Source
pub trait JTypeInfo<'local>
where Self: Sized,
{ // Required methods fn j_return_type() -> ReturnType; fn j_type() -> JavaType; fn into_j_value( self, _: &mut JNIEnv<'local>, ) -> JResult<JValueOwned<'local>>; // Provided method fn j_value_type(&self) -> JavaType { ... } }

Required Methods§

Provided Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<'local> JTypeInfo<'local> for bool

Source§

impl<'local> JTypeInfo<'local> for char

Source§

impl<'local> JTypeInfo<'local> for f32

Source§

impl<'local> JTypeInfo<'local> for f64

Source§

impl<'local> JTypeInfo<'local> for i16

Source§

impl<'local> JTypeInfo<'local> for i32

Source§

impl<'local> JTypeInfo<'local> for i64

Source§

impl<'local> JTypeInfo<'local> for u8

Source§

impl<'local> JTypeInfo<'local> for String

Source§

impl<'local> JTypeInfo<'local> for Vec<u8>

Source§

impl<'local, T: JTypeInfo<'local> + Default> JTypeInfo<'local> for Option<T>

Implementors§

Source§

impl<'local> JTypeInfo<'local> for JBoolean

Source§

impl<'local> JTypeInfo<'local> for JByte

Source§

impl<'local> JTypeInfo<'local> for JChar

Source§

impl<'local> JTypeInfo<'local> for JDouble

Source§

impl<'local> JTypeInfo<'local> for JFloat

Source§

impl<'local> JTypeInfo<'local> for JInt

Source§

impl<'local> JTypeInfo<'local> for JLong

Source§

impl<'local> JTypeInfo<'local> for JShort

Source§

impl<'local> JTypeInfo<'local> for JVoid

Source§

impl<'local, T> JTypeInfo<'local> for JList<T>
where T: IntoJavaType<'local, JObject<'local>>,