[−]Struct jni_android_sys::android::renderscript::Element_DataKind
public enum Element.DataKind
Required feature: "android-renderscript-Element_DataKind"
Methods
impl Element_DataKind
pub fn values<'env>(
__jni_env: &'env Env
) -> Result<Option<Local<'env, ObjectArray<Element_DataKind, Throwable>>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env
) -> Result<Option<Local<'env, ObjectArray<Element_DataKind, Throwable>>>, Local<'env, Throwable>>
Required features: "android-renderscript-Element_DataKind"
pub fn valueOf<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Element_DataKind>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Element_DataKind>>, Local<'env, Throwable>>
Required features: "android-renderscript-Element_DataKind", "java-lang-String"
pub fn USER<'env>(env: &'env Env) -> Option<Local<'env, Element_DataKind>>
[src]
get public static final USER
Required feature: "android-renderscript-Element_DataKind"
pub fn PIXEL_L<'env>(env: &'env Env) -> Option<Local<'env, Element_DataKind>>
[src]
get public static final PIXEL_L
Required feature: "android-renderscript-Element_DataKind"
pub fn PIXEL_A<'env>(env: &'env Env) -> Option<Local<'env, Element_DataKind>>
[src]
get public static final PIXEL_A
Required feature: "android-renderscript-Element_DataKind"
pub fn PIXEL_LA<'env>(env: &'env Env) -> Option<Local<'env, Element_DataKind>>
[src]
get public static final PIXEL_LA
Required feature: "android-renderscript-Element_DataKind"
pub fn PIXEL_RGB<'env>(env: &'env Env) -> Option<Local<'env, Element_DataKind>>
[src]
get public static final PIXEL_RGB
Required feature: "android-renderscript-Element_DataKind"
pub fn PIXEL_RGBA<'env>(env: &'env Env) -> Option<Local<'env, Element_DataKind>>
[src]
get public static final PIXEL_RGBA
Required feature: "android-renderscript-Element_DataKind"
pub fn PIXEL_DEPTH<'env>(
env: &'env Env
) -> Option<Local<'env, Element_DataKind>>
[src]
env: &'env Env
) -> Option<Local<'env, Element_DataKind>>
get public static final PIXEL_DEPTH
Required feature: "android-renderscript-Element_DataKind"
pub fn PIXEL_YUV<'env>(env: &'env Env) -> Option<Local<'env, Element_DataKind>>
[src]
get public static final PIXEL_YUV
Required feature: "android-renderscript-Element_DataKind"
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 Element_DataKind
impl AsValidJObjectAndEnv for Element_DataKind
impl Deref for Element_DataKind
impl JniType for Element_DataKind
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for Element_DataKind
impl !Send for Element_DataKind
impl !Sync for Element_DataKind
impl Unpin for Element_DataKind
impl UnwindSafe for Element_DataKind
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>,