[]Struct jni_android_sys::java::util::Locale_Builder

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

public final class Locale.Builder

Required feature: "java-util-Locale_Builder"

Methods

impl Locale_Builder

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

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

setLocale

Required features: "java-util-Locale", "java-util-Locale_Builder"

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

setLanguageTag

Required features: "java-lang-String", "java-util-Locale_Builder"

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

setLanguage

Required features: "java-lang-String", "java-util-Locale_Builder"

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

setScript

Required features: "java-lang-String", "java-util-Locale_Builder"

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

setRegion

Required features: "java-lang-String", "java-util-Locale_Builder"

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

setVariant

Required features: "java-lang-String", "java-util-Locale_Builder"

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

setExtension

Required features: "java-lang-String", "java-util-Locale_Builder"

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

setUnicodeLocaleKeyword

Required features: "java-lang-String", "java-util-Locale_Builder"

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

addUnicodeLocaleAttribute

Required features: "java-lang-String", "java-util-Locale_Builder"

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

removeUnicodeLocaleAttribute

Required features: "java-lang-String", "java-util-Locale_Builder"

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

clear

Required features: "java-util-Locale_Builder"

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

clearExtensions

Required features: "java-util-Locale_Builder"

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

build

Required features: "java-util-Locale"

Methods from Deref<Target = Object>

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

getClass

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]

equals

Required features: "java-lang-Object"

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

toString

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]

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

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

Trait Implementations

impl AsJValue for Locale_Builder

impl AsValidJObjectAndEnv for Locale_Builder

impl Deref for Locale_Builder

type Target = Object

The resulting type after dereferencing.

impl JniType for Locale_Builder

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.