[]Struct jni_android_sys::android::icu::text::LocaleDisplayNames

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

public class LocaleDisplayNames

Required feature: "android-icu-text-LocaleDisplayNames"

Methods

impl LocaleDisplayNames

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

getInstance

Required features: "android-icu-text-LocaleDisplayNames", "android-icu-util-ULocale"

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

getInstance

Required features: "android-icu-text-LocaleDisplayNames", "java-util-Locale"

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

getInstance

Required features: "android-icu-text-LocaleDisplayNames", "android-icu-text-LocaleDisplayNames_DialectHandling", "android-icu-util-ULocale"

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

getInstance

Required features: "android-icu-text-DisplayContext", "android-icu-text-LocaleDisplayNames", "android-icu-util-ULocale"

pub fn getInstance_Locale_DisplayContext_array<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Locale>>,
    arg1: impl Into<Option<&'env ObjectArray<DisplayContext, Throwable>>>
) -> Result<Option<Local<'env, LocaleDisplayNames>>, Local<'env, Throwable>>
[src]

getInstance

Required features: "android-icu-text-DisplayContext", "android-icu-text-LocaleDisplayNames", "java-util-Locale"

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

getLocale

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

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

getDialectHandling

Required features: "android-icu-text-LocaleDisplayNames_DialectHandling"

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

getContext

Required features: "android-icu-text-DisplayContext", "android-icu-text-DisplayContext_Type"

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

localeDisplayName

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

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

localeDisplayName

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

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

localeDisplayName

Required features: "java-lang-String"

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

languageDisplayName

Required features: "java-lang-String"

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

scriptDisplayName

Required features: "java-lang-String"

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

scriptDisplayName

Required features: "java-lang-String"

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

regionDisplayName

Required features: "java-lang-String"

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

variantDisplayName

Required features: "java-lang-String"

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

keyDisplayName

Required features: "java-lang-String"

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

keyValueDisplayName

Required features: "java-lang-String"

pub fn getUiList<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Set>>,
    arg1: bool,
    arg2: impl Into<Option<&'env Comparator>>
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
[src]

getUiList

Required features: "java-util-Comparator", "java-util-List", "java-util-Set"

pub fn getUiListCompareWholeItems<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Set>>,
    arg1: impl Into<Option<&'env Comparator>>
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
[src]

getUiListCompareWholeItems

Required features: "java-util-Comparator", "java-util-List", "java-util-Set"

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 LocaleDisplayNames

impl AsValidJObjectAndEnv for LocaleDisplayNames

impl Deref for LocaleDisplayNames

type Target = Object

The resulting type after dereferencing.

impl JniType for LocaleDisplayNames

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.