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

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

public final class StringSearch

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

Methods

impl StringSearch

pub fn new_String_CharacterIterator_RuleBasedCollator_BreakIterator<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>,
    arg1: impl Into<Option<&'env CharacterIterator>>,
    arg2: impl Into<Option<&'env RuleBasedCollator>>,
    arg3: impl Into<Option<&'env BreakIterator>>
) -> Result<Local<'env, StringSearch>, Local<'env, Throwable>>
[src]

StringSearch

Required features: "android-icu-text-BreakIterator", "android-icu-text-RuleBasedCollator", "java-lang-String", "java-text-CharacterIterator"

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

StringSearch

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

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

StringSearch

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

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

StringSearch

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

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

StringSearch

Required features: "java-lang-String"

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

getCollator

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

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

setCollator

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

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

getPattern

Required features: "java-lang-String"

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

setPattern

Required features: "java-lang-String"

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

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

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

setTarget

Required features: "java-text-CharacterIterator"

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

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

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

Methods from Deref<Target = SearchIterator>

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

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

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

setBreakIterator

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

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

setTarget

Required features: "java-text-CharacterIterator"

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

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

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

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

getBreakIterator

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

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

getTarget

Required features: "java-text-CharacterIterator"

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

getMatchedText

Required features: "java-lang-String"

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

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

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

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

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

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

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

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

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

setElementComparisonType

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

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

getElementComparisonType

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

pub const DONE: i32[src]

Trait Implementations

impl AsJValue for StringSearch

impl AsValidJObjectAndEnv for StringSearch

impl Deref for StringSearch

type Target = SearchIterator

The resulting type after dereferencing.

impl JniType for StringSearch

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.