Trait Constructible

Source
pub trait Constructible {
    type Param: AsParam;
    type Return: FromValue;

    // Provided method
    fn call_new(
        self_: ClassDecl,
        env: &mut JNIEnv<'_>,
        params: Self::Param,
    ) -> JResult<Self::Return> { ... }
}

Required Associated Types§

Provided Methods§

Source

fn call_new( self_: ClassDecl, env: &mut JNIEnv<'_>, params: Self::Param, ) -> JResult<Self::Return>

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.

Implementors§