Module jni::descriptors [] [src]

Descriptors for classes and method IDs.

Structs

ClassDesc

Specialization of the Desc type for use in class descriptors.

MethodDesc

Specialization of Desc for describing JMethodIDs. Requires a class, method name, and signature.

Enums

Desc

"Either"-like enum for java types that can have descriptors. This is to facilitate easier optimization of jni calls that could either take an actual object or look it up in the jvm from a descriptor.

Traits

IntoClassDesc

Trait representing anything that can be turned into a class descriptor. Implementations are provided for ClassDesc, Desc<S, JClass>, JClass, and anything that implements Into<JNIString>.

IntoMethodDesc

Trait representing anything that can be turned into a method descriptor. Implementations are provided for MethodDesc, Desc<(T, U, V), JMethodID>, JMethodID, and any tuple containing an IntoClassDesc implementor, and two things that implement Into<JNIString>.