[]Struct jni_android_sys::android::icu::util::ULocale

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

public final class ULocale

Required feature: "android-icu-util-ULocale"

Methods

impl ULocale

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

ULocale

Required features: "java-lang-String"

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

ULocale

Required features: "java-lang-String"

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

ULocale

Required features: "java-lang-String"

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

forLocale

Required features: "android-icu-util-ULocale", "java-util-Locale"

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

createCanonical

Required features: "android-icu-util-ULocale", "java-lang-String"

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

toLocale

Required features: "java-util-Locale"

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

getDefault

Required features: "android-icu-util-ULocale"

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

getDefault

Required features: "android-icu-util-ULocale", "android-icu-util-ULocale_Category"

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

clone

Required features: "java-lang-Object"

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

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 compareTo_ULocale<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ULocale>>
) -> Result<i32, Local<'env, Throwable>>
[src]

compareTo

Required features: "android-icu-util-ULocale"

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

getAvailableLocales

Required features: "android-icu-util-ULocale"

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

getISOCountries

Required features: "java-lang-String"

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

getISOLanguages

Required features: "java-lang-String"

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

getLanguage

Required features: "java-lang-String"

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

getLanguage

Required features: "java-lang-String"

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

getScript

Required features: "java-lang-String"

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

getScript

Required features: "java-lang-String"

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

getCountry

Required features: "java-lang-String"

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

getCountry

Required features: "java-lang-String"

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

getVariant

Required features: "java-lang-String"

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

getVariant

Required features: "java-lang-String"

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

getFallback

Required features: "java-lang-String"

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

getFallback

Required features: "android-icu-util-ULocale"

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

getBaseName

Required features: "java-lang-String"

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

getBaseName

Required features: "java-lang-String"

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

getName

Required features: "java-lang-String"

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

getName

Required features: "java-lang-String"

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

toString

Required features: "java-lang-String"

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

getKeywords

Required features: "java-util-Iterator"

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

getKeywords

Required features: "java-lang-String", "java-util-Iterator"

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

getKeywordValue

Required features: "java-lang-String"

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

getKeywordValue

Required features: "java-lang-String"

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

canonicalize

Required features: "java-lang-String"

pub fn setKeywordValue_String_String<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>,
    arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, ULocale>>, Local<'env, Throwable>>
[src]

setKeywordValue

Required features: "android-icu-util-ULocale", "java-lang-String"

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

setKeywordValue

Required features: "java-lang-String"

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

getISO3Language

Required features: "java-lang-String"

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

getISO3Language

Required features: "java-lang-String"

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

getISO3Country

Required features: "java-lang-String"

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

getISO3Country

Required features: "java-lang-String"

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

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

getDisplayLanguage

Required features: "java-lang-String"

pub fn getDisplayLanguage_ULocale<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ULocale>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

getDisplayLanguage

Required features: "android-icu-util-ULocale", "java-lang-String"

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

getDisplayLanguage

Required features: "java-lang-String"

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

getDisplayLanguage

Required features: "android-icu-util-ULocale", "java-lang-String"

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

getDisplayLanguageWithDialect

Required features: "java-lang-String"

pub fn getDisplayLanguageWithDialect_ULocale<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ULocale>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

getDisplayLanguageWithDialect

Required features: "android-icu-util-ULocale", "java-lang-String"

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

getDisplayLanguageWithDialect

Required features: "java-lang-String"

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

getDisplayLanguageWithDialect

Required features: "android-icu-util-ULocale", "java-lang-String"

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

getDisplayScript

Required features: "java-lang-String"

pub fn getDisplayScript_ULocale<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ULocale>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

getDisplayScript

Required features: "android-icu-util-ULocale", "java-lang-String"

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

getDisplayScript

Required features: "java-lang-String"

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

getDisplayScript

Required features: "android-icu-util-ULocale", "java-lang-String"

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

getDisplayCountry

Required features: "java-lang-String"

pub fn getDisplayCountry_ULocale<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ULocale>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

getDisplayCountry

Required features: "android-icu-util-ULocale", "java-lang-String"

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

getDisplayCountry

Required features: "java-lang-String"

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

getDisplayCountry

Required features: "android-icu-util-ULocale", "java-lang-String"

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

getDisplayVariant

Required features: "java-lang-String"

pub fn getDisplayVariant_ULocale<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ULocale>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

getDisplayVariant

Required features: "android-icu-util-ULocale", "java-lang-String"

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

getDisplayVariant

Required features: "java-lang-String"

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

getDisplayVariant

Required features: "android-icu-util-ULocale", "java-lang-String"

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

getDisplayKeyword

Required features: "java-lang-String"

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

getDisplayKeyword

Required features: "java-lang-String"

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

getDisplayKeyword

Required features: "android-icu-util-ULocale", "java-lang-String"

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

getDisplayKeywordValue

Required features: "java-lang-String"

pub fn getDisplayKeywordValue_String_ULocale<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>,
    arg1: impl Into<Option<&'env ULocale>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

getDisplayKeywordValue

Required features: "android-icu-util-ULocale", "java-lang-String"

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

getDisplayKeywordValue

Required features: "java-lang-String"

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

getDisplayKeywordValue

Required features: "android-icu-util-ULocale", "java-lang-String"

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

getDisplayName

Required features: "java-lang-String"

pub fn getDisplayName_ULocale<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ULocale>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

getDisplayName

Required features: "android-icu-util-ULocale", "java-lang-String"

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

getDisplayName

Required features: "java-lang-String"

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

getDisplayName

Required features: "android-icu-util-ULocale", "java-lang-String"

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

getDisplayNameWithDialect

Required features: "java-lang-String"

pub fn getDisplayNameWithDialect_ULocale<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ULocale>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

getDisplayNameWithDialect

Required features: "android-icu-util-ULocale", "java-lang-String"

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

getDisplayNameWithDialect

Required features: "java-lang-String"

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

getDisplayNameWithDialect

Required features: "android-icu-util-ULocale", "java-lang-String"

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

getCharacterOrientation

Required features: "java-lang-String"

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

getLineOrientation

Required features: "java-lang-String"

pub fn acceptLanguage_String_ULocale_array_boolean_array<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>,
    arg1: impl Into<Option<&'env ObjectArray<ULocale, Throwable>>>,
    arg2: impl Into<Option<&'env BooleanArray>>
) -> Result<Option<Local<'env, ULocale>>, Local<'env, Throwable>>
[src]

acceptLanguage

Required features: "android-icu-util-ULocale", "java-lang-String"

pub fn acceptLanguage_ULocale_array_ULocale_array_boolean_array<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env ObjectArray<ULocale, Throwable>>>,
    arg1: impl Into<Option<&'env ObjectArray<ULocale, Throwable>>>,
    arg2: impl Into<Option<&'env BooleanArray>>
) -> Result<Option<Local<'env, ULocale>>, Local<'env, Throwable>>
[src]

acceptLanguage

Required features: "android-icu-util-ULocale"

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

acceptLanguage

Required features: "android-icu-util-ULocale", "java-lang-String"

pub fn acceptLanguage_ULocale_array_boolean_array<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env ObjectArray<ULocale, Throwable>>>,
    arg1: impl Into<Option<&'env BooleanArray>>
) -> Result<Option<Local<'env, ULocale>>, Local<'env, Throwable>>
[src]

acceptLanguage

Required features: "android-icu-util-ULocale"

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

addLikelySubtags

Required features: "android-icu-util-ULocale"

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

minimizeSubtags

Required features: "android-icu-util-ULocale"

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

getExtension

Required features: "java-lang-String"

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

getExtensionKeys

Required features: "java-util-Set"

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

getUnicodeLocaleAttributes

Required features: "java-util-Set"

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

getUnicodeLocaleType

Required features: "java-lang-String"

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

getUnicodeLocaleKeys

Required features: "java-util-Set"

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

toLanguageTag

Required features: "java-lang-String"

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

forLanguageTag

Required features: "android-icu-util-ULocale", "java-lang-String"

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

toUnicodeLocaleKey

Required features: "java-lang-String"

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

toUnicodeLocaleType

Required features: "java-lang-String"

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

toLegacyKey

Required features: "java-lang-String"

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

toLegacyType

Required features: "java-lang-String"

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

get public static final CANADA

Required feature: "android-icu-util-ULocale"

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

get public static final CANADA_FRENCH

Required feature: "android-icu-util-ULocale"

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

get public static final CHINA

Required feature: "android-icu-util-ULocale"

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

get public static final CHINESE

Required feature: "android-icu-util-ULocale"

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

get public static final ENGLISH

Required feature: "android-icu-util-ULocale"

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

get public static final FRANCE

Required feature: "android-icu-util-ULocale"

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

get public static final FRENCH

Required feature: "android-icu-util-ULocale"

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

get public static final GERMAN

Required feature: "android-icu-util-ULocale"

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

get public static final GERMANY

Required feature: "android-icu-util-ULocale"

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

get public static final ITALIAN

Required feature: "android-icu-util-ULocale"

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

get public static final ITALY

Required feature: "android-icu-util-ULocale"

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

get public static final JAPAN

Required feature: "android-icu-util-ULocale"

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

get public static final JAPANESE

Required feature: "android-icu-util-ULocale"

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

get public static final KOREA

Required feature: "android-icu-util-ULocale"

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

get public static final KOREAN

Required feature: "android-icu-util-ULocale"

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

get public static final PRC

Required feature: "android-icu-util-ULocale"

pub const PRIVATE_USE_EXTENSION: jchar[src]

public static final PRIVATE_USE_EXTENSION

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

get public static final ROOT

Required feature: "android-icu-util-ULocale"

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

get public static final SIMPLIFIED_CHINESE

Required feature: "android-icu-util-ULocale"

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

get public static final TAIWAN

Required feature: "android-icu-util-ULocale"

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

get public static final TRADITIONAL_CHINESE

Required feature: "android-icu-util-ULocale"

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

get public static final UK

Required feature: "android-icu-util-ULocale"

pub const UNICODE_LOCALE_EXTENSION: jchar[src]

public static final UNICODE_LOCALE_EXTENSION

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

get public static final US

Required feature: "android-icu-util-ULocale"

Methods from Deref<Target = Object>

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

getClass

Required features: "java-lang-Class"

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

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 toString<'env>(
    &'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

toString

Required features: "java-lang-String"

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

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

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

pub fn wait_long_int<'env>(
    &'env self,
    arg0: i64,
    arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]

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

Trait Implementations

impl AsJValue for ULocale

impl AsRef<Comparable> for ULocale

impl AsRef<Serializable> for ULocale

impl AsValidJObjectAndEnv for ULocale

impl Deref for ULocale

type Target = Object

The resulting type after dereferencing.

impl JniType for ULocale

Auto Trait Implementations

impl RefUnwindSafe for ULocale

impl !Send for ULocale

impl !Sync for ULocale

impl Unpin for ULocale

impl UnwindSafe for ULocale

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.