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
sourceimpl TypeSignature
impl TypeSignature
Trait Implementations
sourceimpl Clone for TypeSignature
impl Clone for TypeSignature
sourcefn clone(&self) -> TypeSignature
fn clone(&self) -> TypeSignature
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for TypeSignature
impl Debug for TypeSignature
sourceimpl Display for TypeSignature
impl Display for TypeSignature
sourceimpl PartialEq<TypeSignature> for TypeSignature
impl PartialEq<TypeSignature> for TypeSignature
sourcefn eq(&self, other: &TypeSignature) -> bool
fn eq(&self, other: &TypeSignature) -> bool
impl Eq for TypeSignature
impl StructuralEq for TypeSignature
impl StructuralPartialEq for TypeSignature
Auto Trait Implementations
impl RefUnwindSafe for TypeSignature
impl Send for TypeSignature
impl Sync for TypeSignature
impl Unpin for TypeSignature
impl UnwindSafe for TypeSignature
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more