[−]Struct jni_android_sys::java::text::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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Local<'env, RuleBasedCollator>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getRules<'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 getCollationElementIterator_String<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, CollationElementIterator>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, CollationElementIterator>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env CharacterIterator>>
) -> Result<Option<Local<'env, CollationElementIterator>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<i32, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, CollationKey>>, Local<'env, Throwable>>
Required features: "java-lang-String", "java-text-CollationKey"
pub fn clone<'env>(
&'env self
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn equals<'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 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]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<i32, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env Object>>,
arg1: impl Into<Option<&'env Object>>
) -> Result<i32, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, CollationKey>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
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]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn clone<'env>(
&'env self
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
Required features: "java-lang-Object"
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 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
impl JniType for RuleBasedCollator
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for RuleBasedCollator
impl !Send for RuleBasedCollator
impl !Sync for RuleBasedCollator
impl Unpin for RuleBasedCollator
impl UnwindSafe for RuleBasedCollator
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>,