[]Struct jni_android_sys::android::util::JsonToken

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

public enum JsonToken

Required feature: "android-util-JsonToken"

Methods

impl JsonToken

pub fn values<'env>(
    __jni_env: &'env Env
) -> Result<Option<Local<'env, ObjectArray<JsonToken, Throwable>>>, Local<'env, Throwable>>
[src]

values

Required features: "android-util-JsonToken"

pub fn valueOf<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, JsonToken>>, Local<'env, Throwable>>
[src]

valueOf

Required features: "android-util-JsonToken", "java-lang-String"

pub fn BEGIN_ARRAY<'env>(env: &'env Env) -> Option<Local<'env, JsonToken>>[src]

get public static final BEGIN_ARRAY

Required feature: "android-util-JsonToken"

pub fn END_ARRAY<'env>(env: &'env Env) -> Option<Local<'env, JsonToken>>[src]

get public static final END_ARRAY

Required feature: "android-util-JsonToken"

pub fn BEGIN_OBJECT<'env>(env: &'env Env) -> Option<Local<'env, JsonToken>>[src]

get public static final BEGIN_OBJECT

Required feature: "android-util-JsonToken"

pub fn END_OBJECT<'env>(env: &'env Env) -> Option<Local<'env, JsonToken>>[src]

get public static final END_OBJECT

Required feature: "android-util-JsonToken"

pub fn NAME<'env>(env: &'env Env) -> Option<Local<'env, JsonToken>>[src]

get public static final NAME

Required feature: "android-util-JsonToken"

pub fn STRING<'env>(env: &'env Env) -> Option<Local<'env, JsonToken>>[src]

get public static final STRING

Required feature: "android-util-JsonToken"

pub fn NUMBER<'env>(env: &'env Env) -> Option<Local<'env, JsonToken>>[src]

get public static final NUMBER

Required feature: "android-util-JsonToken"

pub fn BOOLEAN<'env>(env: &'env Env) -> Option<Local<'env, JsonToken>>[src]

get public static final BOOLEAN

Required feature: "android-util-JsonToken"

pub fn NULL<'env>(env: &'env Env) -> Option<Local<'env, JsonToken>>[src]

get public static final NULL

Required feature: "android-util-JsonToken"

pub fn END_DOCUMENT<'env>(env: &'env Env) -> Option<Local<'env, JsonToken>>[src]

get public static final END_DOCUMENT

Required feature: "android-util-JsonToken"

Methods from Deref<Target = Enum>

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

name

Required features: "java-lang-String"

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

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

toString

Required features: "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 compareTo_Enum<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Enum>>
) -> Result<i32, Local<'env, Throwable>>
[src]

compareTo

Required features: "java-lang-Enum"

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

getDeclaringClass

Required features: "java-lang-Class"

Trait Implementations

impl AsJValue for JsonToken

impl AsValidJObjectAndEnv for JsonToken

impl Deref for JsonToken

type Target = Enum

The resulting type after dereferencing.

impl JniType for JsonToken

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.