[]Struct jni_android_sys::java::text::RuleBasedCollator

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

public class RuleBasedCollator

Required feature: "java-text-RuleBasedCollator"

Methods

impl RuleBasedCollator

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

RuleBasedCollator

Required features: "java-lang-String"

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

getRules

Required features: "java-lang-String"

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

getCollationElementIterator

Required features: "java-lang-String", "java-text-CollationElementIterator"

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

getCollationElementIterator

Required features: "java-text-CharacterIterator", "java-text-CollationElementIterator"

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

clone

Required features: "java-lang-Object"

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

Methods from Deref<Target = Collator>

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

pub const FULL_DECOMPOSITION: i32[src]

pub const IDENTICAL: i32[src]

pub const NO_DECOMPOSITION: i32[src]

pub const PRIMARY: i32[src]

pub const SECONDARY: i32[src]

pub const TERTIARY: i32[src]

Trait Implementations

impl AsJValue for RuleBasedCollator

impl AsValidJObjectAndEnv for RuleBasedCollator

impl Deref for RuleBasedCollator

type Target = Collator

The resulting type after dereferencing.

impl JniType for RuleBasedCollator

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.