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

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

public class PluralRules

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

Methods

impl PluralRules

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

parseDescription

Required features: "android-icu-text-PluralRules", "java-lang-String"

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

createRules

Required features: "android-icu-text-PluralRules", "java-lang-String"

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

forLocale

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

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

forLocale

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

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

forLocale

Required features: "android-icu-text-PluralRules", "android-icu-text-PluralRules_PluralType", "android-icu-util-ULocale"

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

forLocale

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

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

Deprecated

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

select

Required features: "java-lang-String"

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

getKeywords

Required features: "java-util-Set"

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

getUniqueKeywordValue

Required features: "java-lang-String"

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

getAllKeywordValues

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

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

getSamples

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

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

toString

Required features: "java-lang-String"

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

equals

Required features: "java-lang-Object"

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

equals

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

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

get public static final DEFAULT

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

pub const KEYWORD_FEW: &'static str[src]

public static final KEYWORD_FEW

pub const KEYWORD_MANY: &'static str[src]

public static final KEYWORD_MANY

pub const KEYWORD_ONE: &'static str[src]

public static final KEYWORD_ONE

pub const KEYWORD_OTHER: &'static str[src]

public static final KEYWORD_OTHER

pub const KEYWORD_TWO: &'static str[src]

public static final KEYWORD_TWO

pub const KEYWORD_ZERO: &'static str[src]

public static final KEYWORD_ZERO

pub const NO_UNIQUE_VALUE: f64[src]

public static final NO_UNIQUE_VALUE

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 PluralRules

impl AsRef<Serializable> for PluralRules

impl AsValidJObjectAndEnv for PluralRules

impl Deref for PluralRules

type Target = Object

The resulting type after dereferencing.

impl JniType for PluralRules

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.