[−]Struct jni_android_sys::android::util::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]
__jni_env: &'env Env
) -> Result<Option<Local<'env, ObjectArray<JsonToken, Throwable>>>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, JsonToken>>, Local<'env, Throwable>>
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]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "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 compareTo_Enum<'env>(
&'env self,
arg0: impl Into<Option<&'env Enum>>
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Enum>>
) -> Result<i32, Local<'env, Throwable>>
Required features: "java-lang-Enum"
pub fn getDeclaringClass<'env>(
&'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
Required features: "java-lang-Class"
Trait Implementations
impl AsJValue for JsonToken
impl AsValidJObjectAndEnv for JsonToken
impl Deref for JsonToken
impl JniType for JsonToken
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for JsonToken
impl !Send for JsonToken
impl !Sync for JsonToken
impl Unpin for JsonToken
impl UnwindSafe for JsonToken
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>,