[]Struct jni_android_sys::android::util::Half

#[repr(transparent)]
pub struct Half(_);

public final class Half

Required feature: "android-util-Half"

Methods

impl Half

pub fn new_short<'env>(
    __jni_env: &'env Env,
    arg0: i16
) -> Result<Local<'env, Half>, Local<'env, Throwable>>
[src]

pub fn new_float<'env>(
    __jni_env: &'env Env,
    arg0: f32
) -> Result<Local<'env, Half>, Local<'env, Throwable>>
[src]

pub fn new_double<'env>(
    __jni_env: &'env Env,
    arg0: f64
) -> Result<Local<'env, Half>, Local<'env, Throwable>>
[src]

pub fn new_String<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>
) -> Result<Local<'env, Half>, Local<'env, Throwable>>
[src]

Half

Required features: "java-lang-String"

pub fn halfValue<'env>(&'env self) -> Result<i16, Local<'env, Throwable>>[src]

pub fn byteValue<'env>(&'env self) -> Result<i8, Local<'env, Throwable>>[src]

pub fn shortValue<'env>(&'env self) -> Result<i16, Local<'env, Throwable>>[src]

pub fn intValue<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

pub fn longValue<'env>(&'env self) -> Result<i64, Local<'env, Throwable>>[src]

pub fn floatValue<'env>(&'env self) -> Result<f32, Local<'env, Throwable>>[src]

pub fn doubleValue<'env>(&'env self) -> Result<f64, Local<'env, Throwable>>[src]

pub fn isNaN<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>[src]

pub fn equals_Object<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
[src]

equals

Required features: "java-lang-Object"

pub fn hashCode<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

pub fn toString<'env>(
    &'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

toString

Required features: "java-lang-String"

pub fn compareTo_Half<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Half>>
) -> Result<i32, Local<'env, Throwable>>
[src]

compareTo

Required features: "android-util-Half"

pub fn hashCode_short<'env>(
    __jni_env: &'env Env,
    arg0: i16
) -> Result<i32, Local<'env, Throwable>>
[src]

pub fn compare<'env>(
    __jni_env: &'env Env,
    arg0: i16,
    arg1: i16
) -> Result<i32, Local<'env, Throwable>>
[src]

pub fn halfToShortBits<'env>(
    __jni_env: &'env Env,
    arg0: i16
) -> Result<i16, Local<'env, Throwable>>
[src]

pub fn halfToIntBits<'env>(
    __jni_env: &'env Env,
    arg0: i16
) -> Result<i32, Local<'env, Throwable>>
[src]

pub fn halfToRawIntBits<'env>(
    __jni_env: &'env Env,
    arg0: i16
) -> Result<i32, Local<'env, Throwable>>
[src]

pub fn intBitsToHalf<'env>(
    __jni_env: &'env Env,
    arg0: i32
) -> Result<i16, Local<'env, Throwable>>
[src]

pub fn copySign<'env>(
    __jni_env: &'env Env,
    arg0: i16,
    arg1: i16
) -> Result<i16, Local<'env, Throwable>>
[src]

pub fn abs<'env>(
    __jni_env: &'env Env,
    arg0: i16
) -> Result<i16, Local<'env, Throwable>>
[src]

pub fn round<'env>(
    __jni_env: &'env Env,
    arg0: i16
) -> Result<i16, Local<'env, Throwable>>
[src]

pub fn ceil<'env>(
    __jni_env: &'env Env,
    arg0: i16
) -> Result<i16, Local<'env, Throwable>>
[src]

pub fn floor<'env>(
    __jni_env: &'env Env,
    arg0: i16
) -> Result<i16, Local<'env, Throwable>>
[src]

pub fn trunc<'env>(
    __jni_env: &'env Env,
    arg0: i16
) -> Result<i16, Local<'env, Throwable>>
[src]

pub fn min<'env>(
    __jni_env: &'env Env,
    arg0: i16,
    arg1: i16
) -> Result<i16, Local<'env, Throwable>>
[src]

pub fn max<'env>(
    __jni_env: &'env Env,
    arg0: i16,
    arg1: i16
) -> Result<i16, Local<'env, Throwable>>
[src]

pub fn less<'env>(
    __jni_env: &'env Env,
    arg0: i16,
    arg1: i16
) -> Result<bool, Local<'env, Throwable>>
[src]

pub fn lessEquals<'env>(
    __jni_env: &'env Env,
    arg0: i16,
    arg1: i16
) -> Result<bool, Local<'env, Throwable>>
[src]

pub fn greater<'env>(
    __jni_env: &'env Env,
    arg0: i16,
    arg1: i16
) -> Result<bool, Local<'env, Throwable>>
[src]

pub fn greaterEquals<'env>(
    __jni_env: &'env Env,
    arg0: i16,
    arg1: i16
) -> Result<bool, Local<'env, Throwable>>
[src]

pub fn equals_short_short<'env>(
    __jni_env: &'env Env,
    arg0: i16,
    arg1: i16
) -> Result<bool, Local<'env, Throwable>>
[src]

pub fn getSign<'env>(
    __jni_env: &'env Env,
    arg0: i16
) -> Result<i32, Local<'env, Throwable>>
[src]

pub fn getExponent<'env>(
    __jni_env: &'env Env,
    arg0: i16
) -> Result<i32, Local<'env, Throwable>>
[src]

pub fn getSignificand<'env>(
    __jni_env: &'env Env,
    arg0: i16
) -> Result<i32, Local<'env, Throwable>>
[src]

pub fn isInfinite<'env>(
    __jni_env: &'env Env,
    arg0: i16
) -> Result<bool, Local<'env, Throwable>>
[src]

pub fn isNaN_short<'env>(
    __jni_env: &'env Env,
    arg0: i16
) -> Result<bool, Local<'env, Throwable>>
[src]

pub fn isNormalized<'env>(
    __jni_env: &'env Env,
    arg0: i16
) -> Result<bool, Local<'env, Throwable>>
[src]

pub fn toFloat<'env>(
    __jni_env: &'env Env,
    arg0: i16
) -> Result<f32, Local<'env, Throwable>>
[src]

pub fn toHalf<'env>(
    __jni_env: &'env Env,
    arg0: f32
) -> Result<i16, Local<'env, Throwable>>
[src]

pub fn valueOf_short<'env>(
    __jni_env: &'env Env,
    arg0: i16
) -> Result<Option<Local<'env, Half>>, Local<'env, Throwable>>
[src]

valueOf

Required features: "android-util-Half"

pub fn valueOf_float<'env>(
    __jni_env: &'env Env,
    arg0: f32
) -> Result<Option<Local<'env, Half>>, Local<'env, Throwable>>
[src]

valueOf

Required features: "android-util-Half"

pub fn valueOf_String<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Half>>, Local<'env, Throwable>>
[src]

valueOf

Required features: "android-util-Half", "java-lang-String"

pub fn parseHalf<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>
) -> Result<i16, Local<'env, Throwable>>
[src]

parseHalf

Required features: "java-lang-String"

pub fn toString_short<'env>(
    __jni_env: &'env Env,
    arg0: i16
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

toString

Required features: "java-lang-String"

pub fn toHexString<'env>(
    __jni_env: &'env Env,
    arg0: i16
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

toHexString

Required features: "java-lang-String"

pub const EPSILON: i16[src]

public static final EPSILON

pub const LOWEST_VALUE: i16[src]

public static final LOWEST_VALUE

pub const MAX_EXPONENT: i32[src]

public static final MAX_EXPONENT

pub const MAX_VALUE: i16[src]

public static final MAX_VALUE

pub const MIN_EXPONENT: i32[src]

public static final MIN_EXPONENT

pub const MIN_NORMAL: i16[src]

public static final MIN_NORMAL

pub const MIN_VALUE: i16[src]

public static final MIN_VALUE

pub const NEGATIVE_INFINITY: i16[src]

public static final NEGATIVE_INFINITY

pub const NEGATIVE_ZERO: i16[src]

public static final NEGATIVE_ZERO

pub const NaN: i16[src]

public static final NaN

pub const POSITIVE_INFINITY: i16[src]

public static final POSITIVE_INFINITY

pub const POSITIVE_ZERO: i16[src]

public static final POSITIVE_ZERO

pub const SIZE: i32[src]

public static final SIZE

Methods from Deref<Target = Number>

pub fn intValue<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

pub fn longValue<'env>(&'env self) -> Result<i64, Local<'env, Throwable>>[src]

pub fn floatValue<'env>(&'env self) -> Result<f32, Local<'env, Throwable>>[src]

pub fn doubleValue<'env>(&'env self) -> Result<f64, Local<'env, Throwable>>[src]

pub fn byteValue<'env>(&'env self) -> Result<i8, Local<'env, Throwable>>[src]

pub fn shortValue<'env>(&'env self) -> Result<i16, Local<'env, Throwable>>[src]

Trait Implementations

impl AsJValue for Half

impl AsRef<Comparable> for Half

impl AsValidJObjectAndEnv for Half

impl Deref for Half

type Target = Number

The resulting type after dereferencing.

impl JniType for Half

Auto Trait Implementations

impl RefUnwindSafe for Half

impl !Send for Half

impl !Sync for Half

impl Unpin for Half

impl UnwindSafe for Half

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.