[−]Struct jni_android_sys::java::lang::Short
public final class Short
Required feature: java-lang-Short
Methods
impl Short
pub fn new_short<'env>(
__jni_env: &'env Env,
arg0: i16
) -> Result<Local<'env, Short>>[src]
__jni_env: &'env Env,
arg0: i16
) -> Result<Local<'env, Short>>
pub fn new_string<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Local<'env, Short>>[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Local<'env, Short>>
Required features: "java-lang-String"
pub fn to_string_short<'env>(
__jni_env: &'env Env,
arg0: i16
) -> Result<Option<Local<'env, String>>>[src]
__jni_env: &'env Env,
arg0: i16
) -> Result<Option<Local<'env, String>>>
Required features: "java-lang-String"
pub fn parse_short_string_int<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<i16>[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<i16>
Required features: "java-lang-String"
pub fn parse_short_string<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<i16>[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<i16>
Required features: "java-lang-String"
pub fn value_of_string_int<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<Option<Local<'env, Short>>>[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<Option<Local<'env, Short>>>
Required features: "java-lang-Short", "java-lang-String"
pub fn value_of_string<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Short>>>[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Short>>>
Required features: "java-lang-Short", "java-lang-String"
pub fn value_of_short<'env>(
__jni_env: &'env Env,
arg0: i16
) -> Result<Option<Local<'env, Short>>>[src]
__jni_env: &'env Env,
arg0: i16
) -> Result<Option<Local<'env, Short>>>
Required features: "java-lang-Short"
pub fn decode<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Short>>>[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Short>>>
Required features: "java-lang-Short", "java-lang-String"
pub fn byte_value<'env>(&'env self) -> Result<i8>[src]
pub fn short_value<'env>(&'env self) -> Result<i16>[src]
pub fn int_value<'env>(&'env self) -> Result<i32>[src]
pub fn long_value<'env>(&'env self) -> Result<i64>[src]
pub fn float_value<'env>(&'env self) -> Result<f32>[src]
pub fn double_value<'env>(&'env self) -> Result<f64>[src]
pub fn to_string<'env>(&'env self) -> Result<Option<Local<'env, String>>>[src]
Required features: "java-lang-String"
pub fn hash_code<'env>(&'env self) -> Result<i32>[src]
pub fn hash_code_short<'env>(__jni_env: &'env Env, arg0: i16) -> Result<i32>[src]
pub fn equals<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool>
Required features: "java-lang-Object"
pub fn compare_to_short<'env>(
&'env self,
arg0: impl Into<Option<&'env Short>>
) -> Result<i32>[src]
&'env self,
arg0: impl Into<Option<&'env Short>>
) -> Result<i32>
Required features: "java-lang-Short"
pub fn compare<'env>(__jni_env: &'env Env, arg0: i16, arg1: i16) -> Result<i32>[src]
pub fn reverse_bytes<'env>(__jni_env: &'env Env, arg0: i16) -> Result<i16>[src]
pub fn to_unsigned_int<'env>(__jni_env: &'env Env, arg0: i16) -> Result<i32>[src]
pub fn to_unsigned_long<'env>(__jni_env: &'env Env, arg0: i16) -> Result<i64>[src]
pub const BYTES: i32[src]
public static final BYTES
pub const MAX_VALUE: i16[src]
public static final MAX_VALUE
pub const MIN_VALUE: i16[src]
public static final MIN_VALUE
pub const SIZE: i32[src]
public static final SIZE
Methods from Deref<Target = Number>
pub fn int_value<'env>(&'env self) -> Result<i32>[src]
pub fn long_value<'env>(&'env self) -> Result<i64>[src]
pub fn float_value<'env>(&'env self) -> Result<f32>[src]
pub fn double_value<'env>(&'env self) -> Result<f64>[src]
pub fn byte_value<'env>(&'env self) -> Result<i8>[src]
pub fn short_value<'env>(&'env self) -> Result<i16>[src]
Trait Implementations
impl AsRef<Comparable> for Short
fn as_ref(&self) -> &Comparable
impl Deref for Short
impl AsValidJObjectAndEnv for Short
impl AsJValue for Short
Auto Trait Implementations
impl !Sync for Short
impl Unpin for Short
impl !Send for Short
impl UnwindSafe for Short
impl RefUnwindSafe for Short
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> From<T> for T[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,