Struct jni::signature::TypeSignature
[−]
[src]
pub struct TypeSignature { pub args: Vec<JavaType>, pub ret: JavaType, }
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: JavaType
Methods
impl TypeSignature
[src]
fn from_str<S: AsRef<str>>(s: S) -> Result<TypeSignature>
Parse a signature string into a TypeSignature enum.
Trait Implementations
impl Eq for TypeSignature
[src]
impl PartialEq for TypeSignature
[src]
fn eq(&self, __arg_0: &TypeSignature) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &TypeSignature) -> bool
This method tests for !=
.