[−]Struct jni_android_sys::android::icu::util::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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Local<'env, ULocale>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Local<'env, ULocale>, Local<'env, Throwable>>
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]
__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>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Locale>>
) -> Result<Option<Local<'env, ULocale>>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, ULocale>>, Local<'env, Throwable>>
Required features: "android-icu-util-ULocale", "java-lang-String"
pub fn toLocale<'env>(
&'env self
) -> Result<Option<Local<'env, Locale>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Locale>>, Local<'env, Throwable>>
Required features: "java-util-Locale"
pub fn getDefault<'env>(
__jni_env: &'env Env
) -> Result<Option<Local<'env, ULocale>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env
) -> Result<Option<Local<'env, ULocale>>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ULocale_Category>>
) -> Result<Option<Local<'env, ULocale>>, Local<'env, Throwable>>
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]
&'env self
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn compareTo_ULocale<'env>(
&'env self,
arg0: impl Into<Option<&'env ULocale>>
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ULocale>>
) -> Result<i32, Local<'env, Throwable>>
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]
__jni_env: &'env Env
) -> Result<Option<Local<'env, ObjectArray<ULocale, Throwable>>>, Local<'env, Throwable>>
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]
__jni_env: &'env Env
) -> Result<Option<Local<'env, ObjectArray<String, Throwable>>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getISOLanguages<'env>(
__jni_env: &'env Env
) -> Result<Option<Local<'env, ObjectArray<String, Throwable>>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env
) -> Result<Option<Local<'env, ObjectArray<String, Throwable>>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getLanguage<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getScript<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getCountry<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getVariant<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getFallback<'env>(
&'env self
) -> Result<Option<Local<'env, ULocale>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ULocale>>, Local<'env, Throwable>>
Required features: "android-icu-util-ULocale"
pub fn getBaseName<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getName<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn toString<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getKeywords<'env>(
&'env self
) -> Result<Option<Local<'env, Iterator>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Iterator>>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Iterator>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, ULocale>>, Local<'env, Throwable>>
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]
__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>>
Required features: "java-lang-String"
pub fn getISO3Language<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getISO3Country<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env ULocale>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env ULocale>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "android-icu-util-ULocale", "java-lang-String"
pub fn getDisplayLanguageWithDialect<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env ULocale>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env ULocale>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "android-icu-util-ULocale", "java-lang-String"
pub fn getDisplayScript<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env ULocale>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env ULocale>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "android-icu-util-ULocale", "java-lang-String"
pub fn getDisplayCountry<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env ULocale>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env ULocale>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "android-icu-util-ULocale", "java-lang-String"
pub fn getDisplayVariant<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env ULocale>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env ULocale>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env ULocale>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env ULocale>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
__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>>
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]
__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>>
Required features: "android-icu-util-ULocale", "java-lang-String"
pub fn getDisplayName<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env ULocale>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env ULocale>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "android-icu-util-ULocale", "java-lang-String"
pub fn getDisplayNameWithDialect<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env ULocale>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env ULocale>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "android-icu-util-ULocale", "java-lang-String"
pub fn getCharacterOrientation<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getLineOrientation<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
__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>>
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]
__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>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env BooleanArray>>
) -> Result<Option<Local<'env, ULocale>>, Local<'env, Throwable>>
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]
__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>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ULocale>>
) -> Result<Option<Local<'env, ULocale>>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ULocale>>
) -> Result<Option<Local<'env, ULocale>>, Local<'env, Throwable>>
Required features: "android-icu-util-ULocale"
pub fn getExtension<'env>(
&'env self,
arg0: jchar
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: jchar
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getExtensionKeys<'env>(
&'env self
) -> Result<Option<Local<'env, Set>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Set>>, Local<'env, Throwable>>
Required features: "java-util-Set"
pub fn getUnicodeLocaleAttributes<'env>(
&'env self
) -> Result<Option<Local<'env, Set>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Set>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getUnicodeLocaleKeys<'env>(
&'env self
) -> Result<Option<Local<'env, Set>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Set>>, Local<'env, Throwable>>
Required features: "java-util-Set"
pub fn toLanguageTag<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, ULocale>>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
&'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn toString<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
&'env self,
arg0: i64
) -> Result<(), Local<'env, Throwable>>
pub fn wait_long_int<'env>(
&'env self,
arg0: i64,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i64,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
pub fn wait<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
Trait Implementations
impl AsJValue for ULocale
impl AsRef<Comparable> for ULocale
fn as_ref(&self) -> &Comparable
impl AsRef<Serializable> for ULocale
fn as_ref(&self) -> &Serializable
impl AsValidJObjectAndEnv for ULocale
impl Deref for ULocale
impl JniType for ULocale
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
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]
T: 'static + ?Sized,
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> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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>,