[]Struct jni_android_sys::android::icu::lang::UScript_ScriptUsage

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

public enum UScript.ScriptUsage

Required feature: "android-icu-lang-UScript_ScriptUsage"

Methods

impl UScript_ScriptUsage

pub fn values<'env>(
    __jni_env: &'env Env
) -> Result<Option<Local<'env, ObjectArray<UScript_ScriptUsage, Throwable>>>, Local<'env, Throwable>>
[src]

values

Required features: "android-icu-lang-UScript_ScriptUsage"

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

valueOf

Required features: "android-icu-lang-UScript_ScriptUsage", "java-lang-String"

pub fn NOT_ENCODED<'env>(
    env: &'env Env
) -> Option<Local<'env, UScript_ScriptUsage>>
[src]

get public static final NOT_ENCODED

Required feature: "android-icu-lang-UScript_ScriptUsage"

pub fn UNKNOWN<'env>(env: &'env Env) -> Option<Local<'env, UScript_ScriptUsage>>[src]

get public static final UNKNOWN

Required feature: "android-icu-lang-UScript_ScriptUsage"

pub fn EXCLUDED<'env>(
    env: &'env Env
) -> Option<Local<'env, UScript_ScriptUsage>>
[src]

get public static final EXCLUDED

Required feature: "android-icu-lang-UScript_ScriptUsage"

pub fn LIMITED_USE<'env>(
    env: &'env Env
) -> Option<Local<'env, UScript_ScriptUsage>>
[src]

get public static final LIMITED_USE

Required feature: "android-icu-lang-UScript_ScriptUsage"

pub fn ASPIRATIONAL<'env>(
    env: &'env Env
) -> Option<Local<'env, UScript_ScriptUsage>>
[src]

get public static final ASPIRATIONAL

Required feature: "android-icu-lang-UScript_ScriptUsage"

pub fn RECOMMENDED<'env>(
    env: &'env Env
) -> Option<Local<'env, UScript_ScriptUsage>>
[src]

get public static final RECOMMENDED

Required feature: "android-icu-lang-UScript_ScriptUsage"

Methods from Deref<Target = Enum>

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

name

Required features: "java-lang-String"

pub fn ordinal<'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 equals<'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 compareTo_Enum<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Enum>>
) -> Result<i32, Local<'env, Throwable>>
[src]

compareTo

Required features: "java-lang-Enum"

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

getDeclaringClass

Required features: "java-lang-Class"

Trait Implementations

impl AsJValue for UScript_ScriptUsage

impl AsValidJObjectAndEnv for UScript_ScriptUsage

impl Deref for UScript_ScriptUsage

type Target = Enum

The resulting type after dereferencing.

impl JniType for UScript_ScriptUsage

Auto Trait Implementations

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.