[]Struct jni_android_sys::android::renderscript::ScriptIntrinsicColorMatrix

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

public final class ScriptIntrinsicColorMatrix

Required feature: "android-renderscript-ScriptIntrinsicColorMatrix"

Methods

impl ScriptIntrinsicColorMatrix

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

Deprecated

create

Required features: "android-renderscript-Element", "android-renderscript-RenderScript", "android-renderscript-ScriptIntrinsicColorMatrix"

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

create

Required features: "android-renderscript-RenderScript", "android-renderscript-ScriptIntrinsicColorMatrix"

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

setColorMatrix

Required features: "android-renderscript-Matrix4f"

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

setColorMatrix

Required features: "android-renderscript-Matrix3f"

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

setAdd

Required features: "android-renderscript-Float4"

pub fn setAdd_float_float_float_float<'env>(
    &'env self,
    arg0: f32,
    arg1: f32,
    arg2: f32,
    arg3: f32
) -> Result<(), Local<'env, Throwable>>
[src]

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

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

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

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

forEach

Required features: "android-renderscript-Allocation"

pub fn forEach_Allocation_Allocation_LaunchOptions<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Allocation>>,
    arg1: impl Into<Option<&'env Allocation>>,
    arg2: impl Into<Option<&'env Script_LaunchOptions>>
) -> Result<(), Local<'env, Throwable>>
[src]

forEach

Required features: "android-renderscript-Allocation", "android-renderscript-Script_LaunchOptions"

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

getKernelID

Required features: "android-renderscript-Script_KernelID"

Trait Implementations

impl AsJValue for ScriptIntrinsicColorMatrix

impl AsValidJObjectAndEnv for ScriptIntrinsicColorMatrix

impl Deref for ScriptIntrinsicColorMatrix

type Target = ScriptIntrinsic

The resulting type after dereferencing.

impl JniType for ScriptIntrinsicColorMatrix

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.