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

#[repr(transparent)]
pub struct 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]

getInstance

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]

getInstance

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]

getInstance

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]

getInstance

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]

format

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]

parseObject

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]

formatMeasures

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]

formatMeasurePerUnit

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]

formatMeasures

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]

getUnitDisplayName

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]

equals

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]

getWidth

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

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

getLocale

Required features: "android-icu-util-ULocale"

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

getNumberFormat

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]

getCurrencyFormat

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]

getCurrencyFormat

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]

getCurrencyFormat

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

type Target = UFormat

The resulting type after dereferencing.

impl JniType for MeasureFormat

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.