pub struct TypeSignature {
pub args: Vec<JavaType>,
pub ret: JavaType,
}
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: JavaType
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 duplicate 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 for TypeSignature
impl PartialEq for TypeSignature
impl Eq for TypeSignature
impl StructuralPartialEq for TypeSignature
Auto Trait Implementations§
impl Freeze for TypeSignature
impl RefUnwindSafe for TypeSignature
impl Send for TypeSignature
impl Sync for TypeSignature
impl Unpin for TypeSignature
impl UnwindSafe for TypeSignature
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more