[]Struct jni_android_sys::java::text::Collator

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

public class Collator

Required feature: "java-text-Collator"

Methods

impl Collator

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

getInstance

Required features: "java-text-Collator"

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: "java-text-Collator", "java-util-Locale"

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: "java-lang-String", "java-text-CollationKey"

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

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

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

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

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

clone

Required features: "java-lang-Object"

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 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 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 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.