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

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

public class Collator

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

Methods

impl Collator

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

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

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

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

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

getInstance

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

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

clone

Required features: "java-lang-Object"

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

getInstance

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

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

getInstance

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

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

getAvailableLocales

Required features: "java-util-Locale"

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

getAvailableULocales

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

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

getKeywords

Required features: "java-lang-String"

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

getKeywordValues

Required features: "java-lang-String"

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

getKeywordValuesForLocale

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

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

getFunctionalEquivalent

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

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

getFunctionalEquivalent

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

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

getDisplayName

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

pub fn getDisplayName_ULocale_ULocale<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env ULocale>>,
    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 getDisplayName_Locale<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Locale>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

getDisplayName

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

pub fn getDisplayName_ULocale<'env>(
    __jni_env: &'env Env,
    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 getStrength<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

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

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

equals

Required features: "java-lang-String"

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

getTailoredSet

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

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

compare

Required features: "java-lang-String"

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

compare

Required features: "java-lang-Object"

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

getCollationKey

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

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

setMaxVariable

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

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

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

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

getVersion

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

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

getUCAVersion

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

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

pub fn getEquivalentReorderCodes<'env>(
    __jni_env: &'env Env,
    arg0: i32
) -> Result<Option<Local<'env, IntArray>>, Local<'env, Throwable>>
[src]

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

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

freeze

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

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

cloneAsThawed

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

pub const CANONICAL_DECOMPOSITION: i32[src]

public static final CANONICAL_DECOMPOSITION

pub const FULL_DECOMPOSITION: i32[src]

public static final FULL_DECOMPOSITION

pub const IDENTICAL: i32[src]

public static final IDENTICAL

pub const NO_DECOMPOSITION: i32[src]

public static final NO_DECOMPOSITION

pub const PRIMARY: i32[src]

public static final PRIMARY

pub const QUATERNARY: i32[src]

public static final QUATERNARY

pub const SECONDARY: i32[src]

public static final SECONDARY

pub const TERTIARY: i32[src]

public static final TERTIARY

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 Collator

impl AsRef<Cloneable> for Collator

impl AsRef<Comparator> for Collator

impl AsRef<Freezable> for Collator

impl AsValidJObjectAndEnv for Collator

impl Deref for Collator

type Target = Object

The resulting type after dereferencing.

impl JniType for Collator

Auto Trait Implementations

impl RefUnwindSafe for Collator

impl !Send for Collator

impl !Sync for Collator

impl Unpin for Collator

impl UnwindSafe for Collator

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.