[]Struct jni_android_sys::android::renderscript::RenderScript

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

public class RenderScript

Required feature: "android-renderscript-RenderScript"

Methods

impl RenderScript

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

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

setMessageHandler

Required features: "android-renderscript-RenderScript_RSMessageHandler"

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

getMessageHandler

Required features: "android-renderscript-RenderScript_RSMessageHandler"

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

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

setErrorHandler

Required features: "android-renderscript-RenderScript_RSErrorHandler"

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

getErrorHandler

Required features: "android-renderscript-RenderScript_RSErrorHandler"

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

setPriority

Required features: "android-renderscript-RenderScript_Priority"

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

getApplicationContext

Required features: "android-content-Context"

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

create

Required features: "android-content-Context", "android-renderscript-RenderScript"

pub fn create_Context_ContextType<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Context>>,
    arg1: impl Into<Option<&'env RenderScript_ContextType>>
) -> Result<Option<Local<'env, RenderScript>>, Local<'env, Throwable>>
[src]

create

Required features: "android-content-Context", "android-renderscript-RenderScript", "android-renderscript-RenderScript_ContextType"

pub fn create_Context_ContextType_int<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Context>>,
    arg1: impl Into<Option<&'env RenderScript_ContextType>>,
    arg2: i32
) -> Result<Option<Local<'env, RenderScript>>, Local<'env, Throwable>>
[src]

create

Required features: "android-content-Context", "android-renderscript-RenderScript", "android-renderscript-RenderScript_ContextType"

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

pub fn createMultiContext<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Context>>,
    arg1: impl Into<Option<&'env RenderScript_ContextType>>,
    arg2: i32,
    arg3: i32
) -> Result<Option<Local<'env, RenderScript>>, Local<'env, Throwable>>
[src]

createMultiContext

Required features: "android-content-Context", "android-renderscript-RenderScript", "android-renderscript-RenderScript_ContextType"

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

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

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

pub const CREATE_FLAG_LOW_LATENCY: i32[src]

public static final CREATE_FLAG_LOW_LATENCY

pub const CREATE_FLAG_LOW_POWER: i32[src]

public static final CREATE_FLAG_LOW_POWER

pub const CREATE_FLAG_NONE: i32[src]

public static final CREATE_FLAG_NONE

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 RenderScript

impl AsValidJObjectAndEnv for RenderScript

impl Deref for RenderScript

type Target = Object

The resulting type after dereferencing.

impl JniType for RenderScript

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.