[−]Struct jni_android_sys::android::renderscript::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]
&'env self,
arg0: impl Into<Option<&'env Allocation>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "android-renderscript-Allocation"
pub fn setVar_int_float<'env>(
&'env self,
arg0: i32,
arg1: f32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: f32
) -> Result<(), Local<'env, Throwable>>
pub fn getVarF<'env>(
&'env self,
arg0: i32
) -> Result<f32, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<f32, Local<'env, Throwable>>
pub fn setVar_int_double<'env>(
&'env self,
arg0: i32,
arg1: f64
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: f64
) -> Result<(), Local<'env, Throwable>>
pub fn getVarD<'env>(
&'env self,
arg0: i32
) -> Result<f64, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<f64, Local<'env, Throwable>>
pub fn setVar_int_int<'env>(
&'env self,
arg0: i32,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
pub fn getVarI<'env>(
&'env self,
arg0: i32
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<i32, Local<'env, Throwable>>
pub fn setVar_int_long<'env>(
&'env self,
arg0: i32,
arg1: i64
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i64
) -> Result<(), Local<'env, Throwable>>
pub fn getVarJ<'env>(
&'env self,
arg0: i32
) -> Result<i64, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<i64, Local<'env, Throwable>>
pub fn setVar_int_boolean<'env>(
&'env self,
arg0: i32,
arg1: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: bool
) -> Result<(), Local<'env, Throwable>>
pub fn getVarB<'env>(
&'env self,
arg0: i32
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<bool, Local<'env, Throwable>>
pub fn setVar_int_BaseObj<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env BaseObj>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env BaseObj>>
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env FieldPacker>>
) -> Result<(), Local<'env, Throwable>>
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]
&'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>>
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]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env FieldPacker>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-renderscript-FieldPacker"
pub fn setTimeZone<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getName<'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 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]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-lang-Object"
Trait Implementations
impl AsJValue for Script
impl AsValidJObjectAndEnv for Script
impl Deref for Script
impl JniType for Script
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
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]
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>,