[−]Struct jni_android_sys::android::icu::text::PluralFormat
public class PluralFormat
Required feature: "android-icu-text-PluralFormat"
Methods
impl PluralFormat
pub fn new<'env>(
__jni_env: &'env Env
) -> Result<Local<'env, PluralFormat>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env
) -> Result<Local<'env, PluralFormat>, Local<'env, Throwable>>
pub fn new_ULocale<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ULocale>>
) -> Result<Local<'env, PluralFormat>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ULocale>>
) -> Result<Local<'env, PluralFormat>, Local<'env, Throwable>>
Required features: "android-icu-util-ULocale"
pub fn new_Locale<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Locale>>
) -> Result<Local<'env, PluralFormat>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Locale>>
) -> Result<Local<'env, PluralFormat>, Local<'env, Throwable>>
Required features: "java-util-Locale"
pub fn new_PluralRules<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env PluralRules>>
) -> Result<Local<'env, PluralFormat>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env PluralRules>>
) -> Result<Local<'env, PluralFormat>, Local<'env, Throwable>>
Required features: "android-icu-text-PluralRules"
pub fn new_ULocale_PluralRules<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ULocale>>,
arg1: impl Into<Option<&'env PluralRules>>
) -> Result<Local<'env, PluralFormat>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ULocale>>,
arg1: impl Into<Option<&'env PluralRules>>
) -> Result<Local<'env, PluralFormat>, Local<'env, Throwable>>
Required features: "android-icu-text-PluralRules", "android-icu-util-ULocale"
pub fn new_Locale_PluralRules<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Locale>>,
arg1: impl Into<Option<&'env PluralRules>>
) -> Result<Local<'env, PluralFormat>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Locale>>,
arg1: impl Into<Option<&'env PluralRules>>
) -> Result<Local<'env, PluralFormat>, Local<'env, Throwable>>
Required features: "android-icu-text-PluralRules", "java-util-Locale"
pub fn new_ULocale_PluralType<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ULocale>>,
arg1: impl Into<Option<&'env PluralRules_PluralType>>
) -> Result<Local<'env, PluralFormat>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ULocale>>,
arg1: impl Into<Option<&'env PluralRules_PluralType>>
) -> Result<Local<'env, PluralFormat>, Local<'env, Throwable>>
Required features: "android-icu-text-PluralRules_PluralType", "android-icu-util-ULocale"
pub fn new_Locale_PluralType<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Locale>>,
arg1: impl Into<Option<&'env PluralRules_PluralType>>
) -> Result<Local<'env, PluralFormat>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Locale>>,
arg1: impl Into<Option<&'env PluralRules_PluralType>>
) -> Result<Local<'env, PluralFormat>, Local<'env, Throwable>>
Required features: "android-icu-text-PluralRules_PluralType", "java-util-Locale"
pub fn new_String<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Local<'env, PluralFormat>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Local<'env, PluralFormat>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn new_ULocale_String<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ULocale>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Local<'env, PluralFormat>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ULocale>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Local<'env, PluralFormat>, Local<'env, Throwable>>
Required features: "android-icu-util-ULocale", "java-lang-String"
pub fn new_PluralRules_String<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env PluralRules>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Local<'env, PluralFormat>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env PluralRules>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Local<'env, PluralFormat>, Local<'env, Throwable>>
Required features: "android-icu-text-PluralRules", "java-lang-String"
pub fn new_ULocale_PluralRules_String<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ULocale>>,
arg1: impl Into<Option<&'env PluralRules>>,
arg2: impl Into<Option<&'env String>>
) -> Result<Local<'env, PluralFormat>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ULocale>>,
arg1: impl Into<Option<&'env PluralRules>>,
arg2: impl Into<Option<&'env String>>
) -> Result<Local<'env, PluralFormat>, Local<'env, Throwable>>
Required features: "android-icu-text-PluralRules", "android-icu-util-ULocale", "java-lang-String"
pub fn new_ULocale_PluralType_String<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ULocale>>,
arg1: impl Into<Option<&'env PluralRules_PluralType>>,
arg2: impl Into<Option<&'env String>>
) -> Result<Local<'env, PluralFormat>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ULocale>>,
arg1: impl Into<Option<&'env PluralRules_PluralType>>,
arg2: impl Into<Option<&'env String>>
) -> Result<Local<'env, PluralFormat>, Local<'env, Throwable>>
Required features: "android-icu-text-PluralRules_PluralType", "android-icu-util-ULocale", "java-lang-String"
pub fn applyPattern<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn toPattern<'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 format_double<'env>(
&'env self,
arg0: f64
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: f64
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn format_Object_StringBuffer_FieldPosition<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>,
arg1: impl Into<Option<&'env StringBuffer>>,
arg2: impl Into<Option<&'env FieldPosition>>
) -> Result<Option<Local<'env, StringBuffer>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Object>>,
arg1: impl Into<Option<&'env StringBuffer>>,
arg2: impl Into<Option<&'env FieldPosition>>
) -> Result<Option<Local<'env, StringBuffer>>, Local<'env, Throwable>>
Required features: "java-lang-Object", "java-lang-StringBuffer", "java-text-FieldPosition"
pub fn parse<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env ParsePosition>>
) -> Result<Option<Local<'env, Number>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env ParsePosition>>
) -> Result<Option<Local<'env, Number>>, Local<'env, Throwable>>
Required features: "java-lang-Number", "java-lang-String", "java-text-ParsePosition"
pub fn parseObject<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env ParsePosition>>
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env ParsePosition>>
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
Required features: "java-lang-Object", "java-lang-String", "java-text-ParsePosition"
pub fn setNumberFormat<'env>(
&'env self,
arg0: impl Into<Option<&'env NumberFormat>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env NumberFormat>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-icu-text-NumberFormat"
pub fn equals_Object<'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 equals_PluralFormat<'env>(
&'env self,
arg0: impl Into<Option<&'env PluralFormat>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env PluralFormat>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-icu-text-PluralFormat"
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]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
Methods from Deref<Target = UFormat>
Trait Implementations
impl AsJValue for PluralFormat
impl AsValidJObjectAndEnv for PluralFormat
impl Deref for PluralFormat
impl JniType for PluralFormat
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for PluralFormat
impl !Send for PluralFormat
impl !Sync for PluralFormat
impl Unpin for PluralFormat
impl UnwindSafe for PluralFormat
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>,