Struct jni::signature::TypeSignature
source · pub struct TypeSignature {
pub args: Vec<JavaType>,
pub ret: ReturnType,
}
Expand description
A method type signature. This is the structure representation of something
like (Ljava/lang/String;)Z
. Used by the call_(object|static)_method
functions on jnienv to ensure safety.
Fields§
§args: Vec<JavaType>
§ret: ReturnType
Implementations§
source§impl TypeSignature
impl TypeSignature
Trait Implementations§
source§impl Clone for TypeSignature
impl Clone for TypeSignature
source§fn clone(&self) -> TypeSignature
fn clone(&self) -> TypeSignature
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TypeSignature
impl Debug for TypeSignature
source§impl Display for TypeSignature
impl Display for TypeSignature
source§impl PartialEq<TypeSignature> for TypeSignature
impl PartialEq<TypeSignature> for TypeSignature
source§fn eq(&self, other: &TypeSignature) -> bool
fn eq(&self, other: &TypeSignature) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.