[]Struct jni_android_sys::android::renderscript::Script

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

public class Script

Required feature: "android-renderscript-Script"

Methods

impl Script

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

bindAllocation

Required features: "android-renderscript-Allocation"

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

pub fn getVarF<'env>(
    &'env self,
    arg0: i32
) -> Result<f32, Local<'env, Throwable>>
[src]

pub fn setVar_int_double<'env>(
    &'env self,
    arg0: i32,
    arg1: f64
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn getVarD<'env>(
    &'env self,
    arg0: i32
) -> Result<f64, Local<'env, Throwable>>
[src]

pub fn setVar_int_int<'env>(
    &'env self,
    arg0: i32,
    arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]

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

pub fn setVar_int_long<'env>(
    &'env self,
    arg0: i32,
    arg1: i64
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn getVarJ<'env>(
    &'env self,
    arg0: i32
) -> Result<i64, Local<'env, Throwable>>
[src]

pub fn setVar_int_boolean<'env>(
    &'env self,
    arg0: i32,
    arg1: bool
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn getVarB<'env>(
    &'env self,
    arg0: i32
) -> Result<bool, Local<'env, Throwable>>
[src]

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

setVar

Required features: "android-renderscript-BaseObj"

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

setVar

Required features: "android-renderscript-FieldPacker"

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

setVar

Required features: "android-renderscript-Element", "android-renderscript-FieldPacker"

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

getVarV

Required features: "android-renderscript-FieldPacker"

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

setTimeZone

Required features: "java-lang-String"

Methods from Deref<Target = BaseObj>

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

setName

Required features: "java-lang-String"

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

getName

Required features: "java-lang-String"

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

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"

Trait Implementations

impl AsJValue for Script

impl AsValidJObjectAndEnv for Script

impl Deref for Script

type Target = BaseObj

The resulting type after dereferencing.

impl JniType for Script

Auto Trait Implementations

impl RefUnwindSafe for Script

impl !Send for Script

impl !Sync for Script

impl Unpin for Script

impl UnwindSafe for Script

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.