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

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

public class Normalizer2

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

Methods

impl Normalizer2

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

getNFCInstance

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

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

getNFDInstance

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

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

getNFKCInstance

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

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

getNFKDInstance

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

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

getNFKCCasefoldInstance

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

pub fn getInstance<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env InputStream>>,
    arg1: impl Into<Option<&'env String>>,
    arg2: impl Into<Option<&'env Normalizer2_Mode>>
) -> Result<Option<Local<'env, Normalizer2>>, Local<'env, Throwable>>
[src]

getInstance

Required features: "android-icu-text-Normalizer2", "android-icu-text-Normalizer2_Mode", "java-io-InputStream", "java-lang-String"

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

normalize

Required features: "java-lang-CharSequence", "java-lang-String"

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

normalize

Required features: "java-lang-CharSequence", "java-lang-StringBuilder"

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

normalize

Required features: "java-lang-Appendable", "java-lang-CharSequence"

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

normalizeSecondAndAppend

Required features: "java-lang-CharSequence", "java-lang-StringBuilder"

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

append

Required features: "java-lang-CharSequence", "java-lang-StringBuilder"

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

getDecomposition

Required features: "java-lang-String"

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

getRawDecomposition

Required features: "java-lang-String"

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

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

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

isNormalized

Required features: "java-lang-CharSequence"

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

quickCheck

Required features: "android-icu-text-Normalizer_QuickCheckResult", "java-lang-CharSequence"

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

spanQuickCheckYes

Required features: "java-lang-CharSequence"

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

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

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

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 Normalizer2

impl AsValidJObjectAndEnv for Normalizer2

impl Deref for Normalizer2

type Target = Object

The resulting type after dereferencing.

impl JniType for Normalizer2

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.