Enum easy_jni::JavaTypeSignature
source · pub enum JavaTypeSignature {
Byte,
Short,
Int,
Long,
Float,
Double,
Boolean,
Char,
Void,
String,
}
Variants§
Implementations§
source§impl JavaTypeSignature
impl JavaTypeSignature
pub fn java_signature(&self) -> &str
pub fn java_class_name(&self) -> &str
pub fn java_class_name_array(&self) -> EasyJNIResult<String>
pub fn bytecode_signature(&self) -> String
pub fn to_jni_object<'local>( &self, env: &mut JNIEnv<'local>, _: &'local JClass<'local> ) -> EasyJNIResult<JObject<'local>>
Trait Implementations§
source§impl Clone for JavaTypeSignature
impl Clone for JavaTypeSignature
source§fn clone(&self) -> JavaTypeSignature
fn clone(&self) -> JavaTypeSignature
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 JavaTypeSignature
impl Debug for JavaTypeSignature
source§impl Default for JavaTypeSignature
impl Default for JavaTypeSignature
source§fn default() -> JavaTypeSignature
fn default() -> JavaTypeSignature
Returns the “default value” for a type. Read more
source§impl Ord for JavaTypeSignature
impl Ord for JavaTypeSignature
source§fn cmp(&self, other: &JavaTypeSignature) -> Ordering
fn cmp(&self, other: &JavaTypeSignature) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<JavaTypeSignature> for JavaTypeSignature
impl PartialEq<JavaTypeSignature> for JavaTypeSignature
source§fn eq(&self, other: &JavaTypeSignature) -> bool
fn eq(&self, other: &JavaTypeSignature) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<JavaTypeSignature> for JavaTypeSignature
impl PartialOrd<JavaTypeSignature> for JavaTypeSignature
source§fn partial_cmp(&self, other: &JavaTypeSignature) -> Option<Ordering>
fn partial_cmp(&self, other: &JavaTypeSignature) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for JavaTypeSignature
impl Eq for JavaTypeSignature
impl StructuralEq for JavaTypeSignature
impl StructuralPartialEq for JavaTypeSignature
Auto Trait Implementations§
impl RefUnwindSafe for JavaTypeSignature
impl Send for JavaTypeSignature
impl Sync for JavaTypeSignature
impl Unpin for JavaTypeSignature
impl UnwindSafe for JavaTypeSignature
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