[−]Struct jni_android_sys::android::icu::text::MeasureFormat
public class MeasureFormat
Required feature: "android-icu-text-MeasureFormat"
Methods
impl MeasureFormat
pub fn getInstance_ULocale_FormatWidth<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ULocale>>,
arg1: impl Into<Option<&'env MeasureFormat_FormatWidth>>
) -> Result<Option<Local<'env, MeasureFormat>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ULocale>>,
arg1: impl Into<Option<&'env MeasureFormat_FormatWidth>>
) -> Result<Option<Local<'env, MeasureFormat>>, Local<'env, Throwable>>
Required features: "android-icu-text-MeasureFormat", "android-icu-text-MeasureFormat_FormatWidth", "android-icu-util-ULocale"
pub fn getInstance_Locale_FormatWidth<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Locale>>,
arg1: impl Into<Option<&'env MeasureFormat_FormatWidth>>
) -> Result<Option<Local<'env, MeasureFormat>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Locale>>,
arg1: impl Into<Option<&'env MeasureFormat_FormatWidth>>
) -> Result<Option<Local<'env, MeasureFormat>>, Local<'env, Throwable>>
Required features: "android-icu-text-MeasureFormat", "android-icu-text-MeasureFormat_FormatWidth", "java-util-Locale"
pub fn getInstance_ULocale_FormatWidth_NumberFormat<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ULocale>>,
arg1: impl Into<Option<&'env MeasureFormat_FormatWidth>>,
arg2: impl Into<Option<&'env NumberFormat>>
) -> Result<Option<Local<'env, MeasureFormat>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ULocale>>,
arg1: impl Into<Option<&'env MeasureFormat_FormatWidth>>,
arg2: impl Into<Option<&'env NumberFormat>>
) -> Result<Option<Local<'env, MeasureFormat>>, Local<'env, Throwable>>
Required features: "android-icu-text-MeasureFormat", "android-icu-text-MeasureFormat_FormatWidth", "android-icu-text-NumberFormat", "android-icu-util-ULocale"
pub fn getInstance_Locale_FormatWidth_NumberFormat<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Locale>>,
arg1: impl Into<Option<&'env MeasureFormat_FormatWidth>>,
arg2: impl Into<Option<&'env NumberFormat>>
) -> Result<Option<Local<'env, MeasureFormat>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Locale>>,
arg1: impl Into<Option<&'env MeasureFormat_FormatWidth>>,
arg2: impl Into<Option<&'env NumberFormat>>
) -> Result<Option<Local<'env, MeasureFormat>>, Local<'env, Throwable>>
Required features: "android-icu-text-MeasureFormat", "android-icu-text-MeasureFormat_FormatWidth", "android-icu-text-NumberFormat", "java-util-Locale"
pub fn format<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>,
arg1: impl Into<Option<&'env StringBuffer>>,
arg2: impl Into<Option<&'env FieldPosition>>
) -> Result<Option<Local<'env, StringBuffer>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Object>>,
arg1: impl Into<Option<&'env StringBuffer>>,
arg2: impl Into<Option<&'env FieldPosition>>
) -> Result<Option<Local<'env, StringBuffer>>, Local<'env, Throwable>>
Required features: "java-lang-Object", "java-lang-StringBuffer", "java-text-FieldPosition"
pub fn parseObject_String_ParsePosition<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env ParsePosition>>
) -> Result<Option<Local<'env, Measure>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env ParsePosition>>
) -> Result<Option<Local<'env, Measure>>, Local<'env, Throwable>>
Required features: "android-icu-util-Measure", "java-lang-String", "java-text-ParsePosition"
pub fn formatMeasures_Measure_array<'env>(
&'env self,
arg0: impl Into<Option<&'env ObjectArray<Measure, Throwable>>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ObjectArray<Measure, Throwable>>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "android-icu-util-Measure", "java-lang-String"
pub fn formatMeasurePerUnit<'env>(
&'env self,
arg0: impl Into<Option<&'env Measure>>,
arg1: impl Into<Option<&'env MeasureUnit>>,
arg2: impl Into<Option<&'env StringBuilder>>,
arg3: impl Into<Option<&'env FieldPosition>>
) -> Result<Option<Local<'env, StringBuilder>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Measure>>,
arg1: impl Into<Option<&'env MeasureUnit>>,
arg2: impl Into<Option<&'env StringBuilder>>,
arg3: impl Into<Option<&'env FieldPosition>>
) -> Result<Option<Local<'env, StringBuilder>>, Local<'env, Throwable>>
Required features: "android-icu-util-Measure", "android-icu-util-MeasureUnit", "java-lang-StringBuilder", "java-text-FieldPosition"
pub fn formatMeasures_StringBuilder_FieldPosition_Measure_array<'env>(
&'env self,
arg0: impl Into<Option<&'env StringBuilder>>,
arg1: impl Into<Option<&'env FieldPosition>>,
arg2: impl Into<Option<&'env ObjectArray<Measure, Throwable>>>
) -> Result<Option<Local<'env, StringBuilder>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env StringBuilder>>,
arg1: impl Into<Option<&'env FieldPosition>>,
arg2: impl Into<Option<&'env ObjectArray<Measure, Throwable>>>
) -> Result<Option<Local<'env, StringBuilder>>, Local<'env, Throwable>>
Required features: "android-icu-util-Measure", "java-lang-StringBuilder", "java-text-FieldPosition"
pub fn getUnitDisplayName<'env>(
&'env self,
arg0: impl Into<Option<&'env MeasureUnit>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env MeasureUnit>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "android-icu-util-MeasureUnit", "java-lang-String"
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 getWidth<'env>(
&'env self
) -> Result<Option<Local<'env, MeasureFormat_FormatWidth>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, MeasureFormat_FormatWidth>>, Local<'env, Throwable>>
Required features: "android-icu-text-MeasureFormat_FormatWidth"
pub fn getLocale<'env>(
&'env self
) -> Result<Option<Local<'env, ULocale>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ULocale>>, Local<'env, Throwable>>
Required features: "android-icu-util-ULocale"
pub fn getNumberFormat<'env>(
&'env self
) -> Result<Option<Local<'env, NumberFormat>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, NumberFormat>>, Local<'env, Throwable>>
Required features: "android-icu-text-NumberFormat"
pub fn getCurrencyFormat_ULocale<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ULocale>>
) -> Result<Option<Local<'env, MeasureFormat>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ULocale>>
) -> Result<Option<Local<'env, MeasureFormat>>, Local<'env, Throwable>>
Required features: "android-icu-text-MeasureFormat", "android-icu-util-ULocale"
pub fn getCurrencyFormat_Locale<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Locale>>
) -> Result<Option<Local<'env, MeasureFormat>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Locale>>
) -> Result<Option<Local<'env, MeasureFormat>>, Local<'env, Throwable>>
Required features: "android-icu-text-MeasureFormat", "java-util-Locale"
pub fn getCurrencyFormat<'env>(
__jni_env: &'env Env
) -> Result<Option<Local<'env, MeasureFormat>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env
) -> Result<Option<Local<'env, MeasureFormat>>, Local<'env, Throwable>>
Required features: "android-icu-text-MeasureFormat"
Methods from Deref<Target = UFormat>
Trait Implementations
impl AsJValue for MeasureFormat
impl AsValidJObjectAndEnv for MeasureFormat
impl Deref for MeasureFormat
impl JniType for MeasureFormat
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for MeasureFormat
impl !Send for MeasureFormat
impl !Sync for MeasureFormat
impl Unpin for MeasureFormat
impl UnwindSafe for MeasureFormat
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>,