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

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

public class UFormat

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

Methods

impl UFormat

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

Methods from Deref<Target = Format>

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

format

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

pub fn format_Object_StringBuffer_FieldPosition<'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 formatToCharacterIterator<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Object>>
) -> Result<Option<Local<'env, AttributedCharacterIterator>>, Local<'env, Throwable>>
[src]

formatToCharacterIterator

Required features: "java-lang-Object", "java-text-AttributedCharacterIterator"

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

parseObject

Required features: "java-lang-Object", "java-lang-String", "java-text-ParsePosition"

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

parseObject

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

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

clone

Required features: "java-lang-Object"

Trait Implementations

impl AsJValue for UFormat

impl AsValidJObjectAndEnv for UFormat

impl Deref for UFormat

type Target = Format

The resulting type after dereferencing.

impl JniType for UFormat

Auto Trait Implementations

impl RefUnwindSafe for UFormat

impl !Send for UFormat

impl !Sync for UFormat

impl Unpin for UFormat

impl UnwindSafe for UFormat

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.