[−]Struct jni_android_sys::android::icu::text::MessagePattern
public final class MessagePattern
Required feature: "android-icu-text-MessagePattern"
Methods
impl MessagePattern
pub fn new<'env>(
__jni_env: &'env Env
) -> Result<Local<'env, MessagePattern>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env
) -> Result<Local<'env, MessagePattern>, Local<'env, Throwable>>
pub fn new_ApostropheMode<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env MessagePattern_ApostropheMode>>
) -> Result<Local<'env, MessagePattern>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env MessagePattern_ApostropheMode>>
) -> Result<Local<'env, MessagePattern>, Local<'env, Throwable>>
Required features: "android-icu-text-MessagePattern_ApostropheMode"
pub fn new_String<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Local<'env, MessagePattern>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Local<'env, MessagePattern>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn parse<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, MessagePattern>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, MessagePattern>>, Local<'env, Throwable>>
Required features: "android-icu-text-MessagePattern", "java-lang-String"
pub fn parseChoiceStyle<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, MessagePattern>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, MessagePattern>>, Local<'env, Throwable>>
Required features: "android-icu-text-MessagePattern", "java-lang-String"
pub fn parsePluralStyle<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, MessagePattern>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, MessagePattern>>, Local<'env, Throwable>>
Required features: "android-icu-text-MessagePattern", "java-lang-String"
pub fn parseSelectStyle<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, MessagePattern>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, MessagePattern>>, Local<'env, Throwable>>
Required features: "android-icu-text-MessagePattern", "java-lang-String"
pub fn clear<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn clearPatternAndSetApostropheMode<'env>(
&'env self,
arg0: impl Into<Option<&'env MessagePattern_ApostropheMode>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env MessagePattern_ApostropheMode>>
) -> Result<(), Local<'env, Throwable>>
clearPatternAndSetApostropheMode
Required features: "android-icu-text-MessagePattern_ApostropheMode"
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]
pub fn getApostropheMode<'env>(
&'env self
) -> Result<Option<Local<'env, MessagePattern_ApostropheMode>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, MessagePattern_ApostropheMode>>, Local<'env, Throwable>>
Required features: "android-icu-text-MessagePattern_ApostropheMode"
pub fn getPatternString<'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 hasNamedArguments<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn hasNumberedArguments<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn toString<'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 validateArgumentName<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<i32, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<i32, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn autoQuoteApostropheDeep<'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 countParts<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn getPart<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, MessagePattern_Part>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, MessagePattern_Part>>, Local<'env, Throwable>>
Required features: "android-icu-text-MessagePattern_Part"
pub fn getPartType<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, MessagePattern_Part_Type>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, MessagePattern_Part_Type>>, Local<'env, Throwable>>
Required features: "android-icu-text-MessagePattern_Part_Type"
pub fn getPatternIndex<'env>(
&'env self,
arg0: i32
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<i32, Local<'env, Throwable>>
pub fn getSubstring<'env>(
&'env self,
arg0: impl Into<Option<&'env MessagePattern_Part>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env MessagePattern_Part>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "android-icu-text-MessagePattern_Part", "java-lang-String"
pub fn partSubstringMatches<'env>(
&'env self,
arg0: impl Into<Option<&'env MessagePattern_Part>>,
arg1: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env MessagePattern_Part>>,
arg1: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-icu-text-MessagePattern_Part", "java-lang-String"
pub fn getNumericValue<'env>(
&'env self,
arg0: impl Into<Option<&'env MessagePattern_Part>>
) -> Result<f64, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env MessagePattern_Part>>
) -> Result<f64, Local<'env, Throwable>>
Required features: "android-icu-text-MessagePattern_Part"
pub fn getPluralOffset<'env>(
&'env self,
arg0: i32
) -> Result<f64, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<f64, Local<'env, Throwable>>
pub fn getLimitPartIndex<'env>(
&'env self,
arg0: i32
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<i32, 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 cloneAsThawed<'env>(
&'env self
) -> Result<Option<Local<'env, MessagePattern>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, MessagePattern>>, Local<'env, Throwable>>
Required features: "android-icu-text-MessagePattern"
pub fn freeze<'env>(
&'env self
) -> Result<Option<Local<'env, MessagePattern>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, MessagePattern>>, Local<'env, Throwable>>
Required features: "android-icu-text-MessagePattern"
pub fn isFrozen<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub const ARG_NAME_NOT_NUMBER: i32
[src]
public static final ARG_NAME_NOT_NUMBER
pub const ARG_NAME_NOT_VALID: i32
[src]
public static final ARG_NAME_NOT_VALID
pub const NO_NUMERIC_VALUE: f64
[src]
public static final NO_NUMERIC_VALUE
Methods from Deref<Target = Object>
pub fn getClass<'env>(
&'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn toString<'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 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]
&'env self,
arg0: i64
) -> Result<(), Local<'env, Throwable>>
pub fn wait_long_int<'env>(
&'env self,
arg0: i64,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i64,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
pub fn wait<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
Trait Implementations
impl AsJValue for MessagePattern
impl AsRef<Cloneable> for MessagePattern
impl AsRef<Freezable> for MessagePattern
impl AsValidJObjectAndEnv for MessagePattern
impl Deref for MessagePattern
impl JniType for MessagePattern
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for MessagePattern
impl !Send for MessagePattern
impl !Sync for MessagePattern
impl Unpin for MessagePattern
impl UnwindSafe for MessagePattern
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>,