[−]Struct jni_android_sys::android::renderscript::Allocation
public class Allocation
Required feature: "android-renderscript-Allocation"
Methods
impl Allocation
pub fn getElement<'env>(
&'env self
) -> Result<Option<Local<'env, Element>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Element>>, Local<'env, Throwable>>
Required features: "android-renderscript-Element"
pub fn getUsage<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn setAutoPadding<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn getBytesSize<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn getType<'env>(
&'env self
) -> Result<Option<Local<'env, Type>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Type>>, Local<'env, Throwable>>
Required features: "android-renderscript-Type"
pub fn syncAll<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn ioSend<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn ioReceive<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn copyFrom_BaseObj_array<'env>(
&'env self,
arg0: impl Into<Option<&'env ObjectArray<BaseObj, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ObjectArray<BaseObj, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-renderscript-BaseObj"
pub fn copyFromUnchecked_Object<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn copyFromUnchecked_int_array<'env>(
&'env self,
arg0: impl Into<Option<&'env IntArray>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env IntArray>>
) -> Result<(), Local<'env, Throwable>>
pub fn copyFromUnchecked_short_array<'env>(
&'env self,
arg0: impl Into<Option<&'env ShortArray>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ShortArray>>
) -> Result<(), Local<'env, Throwable>>
pub fn copyFromUnchecked_byte_array<'env>(
&'env self,
arg0: impl Into<Option<&'env ByteArray>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ByteArray>>
) -> Result<(), Local<'env, Throwable>>
pub fn copyFromUnchecked_float_array<'env>(
&'env self,
arg0: impl Into<Option<&'env FloatArray>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env FloatArray>>
) -> Result<(), Local<'env, Throwable>>
pub fn copyFrom_Object<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn copyFrom_int_array<'env>(
&'env self,
arg0: impl Into<Option<&'env IntArray>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env IntArray>>
) -> Result<(), Local<'env, Throwable>>
pub fn copyFrom_short_array<'env>(
&'env self,
arg0: impl Into<Option<&'env ShortArray>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ShortArray>>
) -> Result<(), Local<'env, Throwable>>
pub fn copyFrom_byte_array<'env>(
&'env self,
arg0: impl Into<Option<&'env ByteArray>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ByteArray>>
) -> Result<(), Local<'env, Throwable>>
pub fn copyFrom_float_array<'env>(
&'env self,
arg0: impl Into<Option<&'env FloatArray>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env FloatArray>>
) -> Result<(), Local<'env, Throwable>>
pub fn copyFrom_Bitmap<'env>(
&'env self,
arg0: impl Into<Option<&'env Bitmap>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Bitmap>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-graphics-Bitmap"
pub fn copyFrom_Allocation<'env>(
&'env self,
arg0: impl Into<Option<&'env Allocation>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Allocation>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-renderscript-Allocation"
pub fn setFromFieldPacker_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 setFromFieldPacker_int_int_FieldPacker<'env>(
&'env self,
arg0: i32,
arg1: i32,
arg2: impl Into<Option<&'env FieldPacker>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32,
arg2: impl Into<Option<&'env FieldPacker>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-renderscript-FieldPacker"
pub fn setFromFieldPacker_int_int_int_int_FieldPacker<'env>(
&'env self,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: i32,
arg4: impl Into<Option<&'env FieldPacker>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: i32,
arg4: impl Into<Option<&'env FieldPacker>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-renderscript-FieldPacker"
pub fn generateMipmaps<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn copy1DRangeFromUnchecked_int_int_Object<'env>(
&'env self,
arg0: i32,
arg1: i32,
arg2: impl Into<Option<&'env Object>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32,
arg2: impl Into<Option<&'env Object>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn copy1DRangeFromUnchecked_int_int_int_array<'env>(
&'env self,
arg0: i32,
arg1: i32,
arg2: impl Into<Option<&'env IntArray>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32,
arg2: impl Into<Option<&'env IntArray>>
) -> Result<(), Local<'env, Throwable>>
pub fn copy1DRangeFromUnchecked_int_int_short_array<'env>(
&'env self,
arg0: i32,
arg1: i32,
arg2: impl Into<Option<&'env ShortArray>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32,
arg2: impl Into<Option<&'env ShortArray>>
) -> Result<(), Local<'env, Throwable>>
pub fn copy1DRangeFromUnchecked_int_int_byte_array<'env>(
&'env self,
arg0: i32,
arg1: i32,
arg2: impl Into<Option<&'env ByteArray>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32,
arg2: impl Into<Option<&'env ByteArray>>
) -> Result<(), Local<'env, Throwable>>
pub fn copy1DRangeFromUnchecked_int_int_float_array<'env>(
&'env self,
arg0: i32,
arg1: i32,
arg2: impl Into<Option<&'env FloatArray>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32,
arg2: impl Into<Option<&'env FloatArray>>
) -> Result<(), Local<'env, Throwable>>
pub fn copy1DRangeFrom_int_int_Object<'env>(
&'env self,
arg0: i32,
arg1: i32,
arg2: impl Into<Option<&'env Object>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32,
arg2: impl Into<Option<&'env Object>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn copy1DRangeFrom_int_int_int_array<'env>(
&'env self,
arg0: i32,
arg1: i32,
arg2: impl Into<Option<&'env IntArray>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32,
arg2: impl Into<Option<&'env IntArray>>
) -> Result<(), Local<'env, Throwable>>
pub fn copy1DRangeFrom_int_int_short_array<'env>(
&'env self,
arg0: i32,
arg1: i32,
arg2: impl Into<Option<&'env ShortArray>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32,
arg2: impl Into<Option<&'env ShortArray>>
) -> Result<(), Local<'env, Throwable>>
pub fn copy1DRangeFrom_int_int_byte_array<'env>(
&'env self,
arg0: i32,
arg1: i32,
arg2: impl Into<Option<&'env ByteArray>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32,
arg2: impl Into<Option<&'env ByteArray>>
) -> Result<(), Local<'env, Throwable>>
pub fn copy1DRangeFrom_int_int_float_array<'env>(
&'env self,
arg0: i32,
arg1: i32,
arg2: impl Into<Option<&'env FloatArray>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32,
arg2: impl Into<Option<&'env FloatArray>>
) -> Result<(), Local<'env, Throwable>>
pub fn copy1DRangeFrom_int_int_Allocation_int<'env>(
&'env self,
arg0: i32,
arg1: i32,
arg2: impl Into<Option<&'env Allocation>>,
arg3: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32,
arg2: impl Into<Option<&'env Allocation>>,
arg3: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "android-renderscript-Allocation"
pub fn copy2DRangeFrom_int_int_int_int_Object<'env>(
&'env self,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: i32,
arg4: impl Into<Option<&'env Object>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: i32,
arg4: impl Into<Option<&'env Object>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn copy2DRangeFrom_int_int_int_int_byte_array<'env>(
&'env self,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: i32,
arg4: impl Into<Option<&'env ByteArray>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: i32,
arg4: impl Into<Option<&'env ByteArray>>
) -> Result<(), Local<'env, Throwable>>
pub fn copy2DRangeFrom_int_int_int_int_short_array<'env>(
&'env self,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: i32,
arg4: impl Into<Option<&'env ShortArray>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: i32,
arg4: impl Into<Option<&'env ShortArray>>
) -> Result<(), Local<'env, Throwable>>
pub fn copy2DRangeFrom_int_int_int_int_int_array<'env>(
&'env self,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: i32,
arg4: impl Into<Option<&'env IntArray>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: i32,
arg4: impl Into<Option<&'env IntArray>>
) -> Result<(), Local<'env, Throwable>>
pub fn copy2DRangeFrom_int_int_int_int_float_array<'env>(
&'env self,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: i32,
arg4: impl Into<Option<&'env FloatArray>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: i32,
arg4: impl Into<Option<&'env FloatArray>>
) -> Result<(), Local<'env, Throwable>>
pub fn copy2DRangeFrom_int_int_int_int_Allocation_int_int<'env>(
&'env self,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: i32,
arg4: impl Into<Option<&'env Allocation>>,
arg5: i32,
arg6: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: i32,
arg4: impl Into<Option<&'env Allocation>>,
arg5: i32,
arg6: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "android-renderscript-Allocation"
pub fn copy2DRangeFrom_int_int_Bitmap<'env>(
&'env self,
arg0: i32,
arg1: i32,
arg2: impl Into<Option<&'env Bitmap>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32,
arg2: impl Into<Option<&'env Bitmap>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-graphics-Bitmap"
pub fn copy3DRangeFrom_int_int_int_int_int_int_Object<'env>(
&'env self,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: i32,
arg4: i32,
arg5: i32,
arg6: impl Into<Option<&'env Object>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: i32,
arg4: i32,
arg5: i32,
arg6: impl Into<Option<&'env Object>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn copy3DRangeFrom_int_int_int_int_int_int_Allocation_int_int_int<'env>(
&'env self,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: i32,
arg4: i32,
arg5: i32,
arg6: impl Into<Option<&'env Allocation>>,
arg7: i32,
arg8: i32,
arg9: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: i32,
arg4: i32,
arg5: i32,
arg6: impl Into<Option<&'env Allocation>>,
arg7: i32,
arg8: i32,
arg9: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "android-renderscript-Allocation"
pub fn copyTo_Bitmap<'env>(
&'env self,
arg0: impl Into<Option<&'env Bitmap>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Bitmap>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-graphics-Bitmap"
pub fn copyTo_Object<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn copyTo_byte_array<'env>(
&'env self,
arg0: impl Into<Option<&'env ByteArray>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ByteArray>>
) -> Result<(), Local<'env, Throwable>>
pub fn copyTo_short_array<'env>(
&'env self,
arg0: impl Into<Option<&'env ShortArray>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ShortArray>>
) -> Result<(), Local<'env, Throwable>>
pub fn copyTo_int_array<'env>(
&'env self,
arg0: impl Into<Option<&'env IntArray>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env IntArray>>
) -> Result<(), Local<'env, Throwable>>
pub fn copyTo_float_array<'env>(
&'env self,
arg0: impl Into<Option<&'env FloatArray>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env FloatArray>>
) -> Result<(), Local<'env, Throwable>>
pub fn resize<'env>(&'env self, arg0: i32) -> Result<(), Local<'env, Throwable>>
[src]
pub fn copy1DRangeToUnchecked_int_int_Object<'env>(
&'env self,
arg0: i32,
arg1: i32,
arg2: impl Into<Option<&'env Object>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32,
arg2: impl Into<Option<&'env Object>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn copy1DRangeToUnchecked_int_int_int_array<'env>(
&'env self,
arg0: i32,
arg1: i32,
arg2: impl Into<Option<&'env IntArray>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32,
arg2: impl Into<Option<&'env IntArray>>
) -> Result<(), Local<'env, Throwable>>
pub fn copy1DRangeToUnchecked_int_int_short_array<'env>(
&'env self,
arg0: i32,
arg1: i32,
arg2: impl Into<Option<&'env ShortArray>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32,
arg2: impl Into<Option<&'env ShortArray>>
) -> Result<(), Local<'env, Throwable>>
pub fn copy1DRangeToUnchecked_int_int_byte_array<'env>(
&'env self,
arg0: i32,
arg1: i32,
arg2: impl Into<Option<&'env ByteArray>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32,
arg2: impl Into<Option<&'env ByteArray>>
) -> Result<(), Local<'env, Throwable>>
pub fn copy1DRangeToUnchecked_int_int_float_array<'env>(
&'env self,
arg0: i32,
arg1: i32,
arg2: impl Into<Option<&'env FloatArray>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32,
arg2: impl Into<Option<&'env FloatArray>>
) -> Result<(), Local<'env, Throwable>>
pub fn copy1DRangeTo_int_int_Object<'env>(
&'env self,
arg0: i32,
arg1: i32,
arg2: impl Into<Option<&'env Object>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32,
arg2: impl Into<Option<&'env Object>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn copy1DRangeTo_int_int_int_array<'env>(
&'env self,
arg0: i32,
arg1: i32,
arg2: impl Into<Option<&'env IntArray>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32,
arg2: impl Into<Option<&'env IntArray>>
) -> Result<(), Local<'env, Throwable>>
pub fn copy1DRangeTo_int_int_short_array<'env>(
&'env self,
arg0: i32,
arg1: i32,
arg2: impl Into<Option<&'env ShortArray>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32,
arg2: impl Into<Option<&'env ShortArray>>
) -> Result<(), Local<'env, Throwable>>
pub fn copy1DRangeTo_int_int_byte_array<'env>(
&'env self,
arg0: i32,
arg1: i32,
arg2: impl Into<Option<&'env ByteArray>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32,
arg2: impl Into<Option<&'env ByteArray>>
) -> Result<(), Local<'env, Throwable>>
pub fn copy1DRangeTo_int_int_float_array<'env>(
&'env self,
arg0: i32,
arg1: i32,
arg2: impl Into<Option<&'env FloatArray>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32,
arg2: impl Into<Option<&'env FloatArray>>
) -> Result<(), Local<'env, Throwable>>
pub fn copy2DRangeTo_int_int_int_int_Object<'env>(
&'env self,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: i32,
arg4: impl Into<Option<&'env Object>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: i32,
arg4: impl Into<Option<&'env Object>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn copy2DRangeTo_int_int_int_int_byte_array<'env>(
&'env self,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: i32,
arg4: impl Into<Option<&'env ByteArray>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: i32,
arg4: impl Into<Option<&'env ByteArray>>
) -> Result<(), Local<'env, Throwable>>
pub fn copy2DRangeTo_int_int_int_int_short_array<'env>(
&'env self,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: i32,
arg4: impl Into<Option<&'env ShortArray>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: i32,
arg4: impl Into<Option<&'env ShortArray>>
) -> Result<(), Local<'env, Throwable>>
pub fn copy2DRangeTo_int_int_int_int_int_array<'env>(
&'env self,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: i32,
arg4: impl Into<Option<&'env IntArray>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: i32,
arg4: impl Into<Option<&'env IntArray>>
) -> Result<(), Local<'env, Throwable>>
pub fn copy2DRangeTo_int_int_int_int_float_array<'env>(
&'env self,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: i32,
arg4: impl Into<Option<&'env FloatArray>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: i32,
arg4: impl Into<Option<&'env FloatArray>>
) -> Result<(), Local<'env, Throwable>>
pub fn copy3DRangeTo<'env>(
&'env self,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: i32,
arg4: i32,
arg5: i32,
arg6: impl Into<Option<&'env Object>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: i32,
arg4: i32,
arg5: i32,
arg6: impl Into<Option<&'env Object>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn createTyped_RenderScript_Type_MipmapControl_int<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env RenderScript>>,
arg1: impl Into<Option<&'env Type>>,
arg2: impl Into<Option<&'env Allocation_MipmapControl>>,
arg3: i32
) -> Result<Option<Local<'env, Allocation>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env RenderScript>>,
arg1: impl Into<Option<&'env Type>>,
arg2: impl Into<Option<&'env Allocation_MipmapControl>>,
arg3: i32
) -> Result<Option<Local<'env, Allocation>>, Local<'env, Throwable>>
Required features: "android-renderscript-Allocation", "android-renderscript-Allocation_MipmapControl", "android-renderscript-RenderScript", "android-renderscript-Type"
pub fn createTyped_RenderScript_Type_int<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env RenderScript>>,
arg1: impl Into<Option<&'env Type>>,
arg2: i32
) -> Result<Option<Local<'env, Allocation>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env RenderScript>>,
arg1: impl Into<Option<&'env Type>>,
arg2: i32
) -> Result<Option<Local<'env, Allocation>>, Local<'env, Throwable>>
Required features: "android-renderscript-Allocation", "android-renderscript-RenderScript", "android-renderscript-Type"
pub fn createTyped_RenderScript_Type<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env RenderScript>>,
arg1: impl Into<Option<&'env Type>>
) -> Result<Option<Local<'env, Allocation>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env RenderScript>>,
arg1: impl Into<Option<&'env Type>>
) -> Result<Option<Local<'env, Allocation>>, Local<'env, Throwable>>
Required features: "android-renderscript-Allocation", "android-renderscript-RenderScript", "android-renderscript-Type"
pub fn createSized_RenderScript_Element_int_int<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env RenderScript>>,
arg1: impl Into<Option<&'env Element>>,
arg2: i32,
arg3: i32
) -> Result<Option<Local<'env, Allocation>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env RenderScript>>,
arg1: impl Into<Option<&'env Element>>,
arg2: i32,
arg3: i32
) -> Result<Option<Local<'env, Allocation>>, Local<'env, Throwable>>
Required features: "android-renderscript-Allocation", "android-renderscript-Element", "android-renderscript-RenderScript"
pub fn createSized_RenderScript_Element_int<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env RenderScript>>,
arg1: impl Into<Option<&'env Element>>,
arg2: i32
) -> Result<Option<Local<'env, Allocation>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env RenderScript>>,
arg1: impl Into<Option<&'env Element>>,
arg2: i32
) -> Result<Option<Local<'env, Allocation>>, Local<'env, Throwable>>
Required features: "android-renderscript-Allocation", "android-renderscript-Element", "android-renderscript-RenderScript"
pub fn createFromBitmap_RenderScript_Bitmap_MipmapControl_int<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env RenderScript>>,
arg1: impl Into<Option<&'env Bitmap>>,
arg2: impl Into<Option<&'env Allocation_MipmapControl>>,
arg3: i32
) -> Result<Option<Local<'env, Allocation>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env RenderScript>>,
arg1: impl Into<Option<&'env Bitmap>>,
arg2: impl Into<Option<&'env Allocation_MipmapControl>>,
arg3: i32
) -> Result<Option<Local<'env, Allocation>>, Local<'env, Throwable>>
Required features: "android-graphics-Bitmap", "android-renderscript-Allocation", "android-renderscript-Allocation_MipmapControl", "android-renderscript-RenderScript"
pub fn getByteBuffer<'env>(
&'env self
) -> Result<Option<Local<'env, ByteBuffer>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ByteBuffer>>, Local<'env, Throwable>>
Required features: "java-nio-ByteBuffer"
pub fn createAllocations<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env RenderScript>>,
arg1: impl Into<Option<&'env Type>>,
arg2: i32,
arg3: i32
) -> Result<Option<Local<'env, ObjectArray<Allocation, Throwable>>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env RenderScript>>,
arg1: impl Into<Option<&'env Type>>,
arg2: i32,
arg3: i32
) -> Result<Option<Local<'env, ObjectArray<Allocation, Throwable>>>, Local<'env, Throwable>>
Required features: "android-renderscript-Allocation", "android-renderscript-RenderScript", "android-renderscript-Type"
pub fn getStride<'env>(&'env self) -> Result<i64, Local<'env, Throwable>>
[src]
pub fn getTimeStamp<'env>(&'env self) -> Result<i64, Local<'env, Throwable>>
[src]
pub fn getSurface<'env>(
&'env self
) -> Result<Option<Local<'env, Surface>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Surface>>, Local<'env, Throwable>>
Required features: "android-view-Surface"
pub fn setSurface<'env>(
&'env self,
arg0: impl Into<Option<&'env Surface>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Surface>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-view-Surface"
pub fn createFromBitmap_RenderScript_Bitmap<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env RenderScript>>,
arg1: impl Into<Option<&'env Bitmap>>
) -> Result<Option<Local<'env, Allocation>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env RenderScript>>,
arg1: impl Into<Option<&'env Bitmap>>
) -> Result<Option<Local<'env, Allocation>>, Local<'env, Throwable>>
Required features: "android-graphics-Bitmap", "android-renderscript-Allocation", "android-renderscript-RenderScript"
pub fn createCubemapFromBitmap_RenderScript_Bitmap_MipmapControl_int<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env RenderScript>>,
arg1: impl Into<Option<&'env Bitmap>>,
arg2: impl Into<Option<&'env Allocation_MipmapControl>>,
arg3: i32
) -> Result<Option<Local<'env, Allocation>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env RenderScript>>,
arg1: impl Into<Option<&'env Bitmap>>,
arg2: impl Into<Option<&'env Allocation_MipmapControl>>,
arg3: i32
) -> Result<Option<Local<'env, Allocation>>, Local<'env, Throwable>>
Required features: "android-graphics-Bitmap", "android-renderscript-Allocation", "android-renderscript-Allocation_MipmapControl", "android-renderscript-RenderScript"
pub fn createCubemapFromBitmap_RenderScript_Bitmap<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env RenderScript>>,
arg1: impl Into<Option<&'env Bitmap>>
) -> Result<Option<Local<'env, Allocation>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env RenderScript>>,
arg1: impl Into<Option<&'env Bitmap>>
) -> Result<Option<Local<'env, Allocation>>, Local<'env, Throwable>>
Required features: "android-graphics-Bitmap", "android-renderscript-Allocation", "android-renderscript-RenderScript"
pub fn createCubemapFromCubeFaces_RenderScript_Bitmap_Bitmap_Bitmap_Bitmap_Bitmap_Bitmap_MipmapControl_int<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env RenderScript>>,
arg1: impl Into<Option<&'env Bitmap>>,
arg2: impl Into<Option<&'env Bitmap>>,
arg3: impl Into<Option<&'env Bitmap>>,
arg4: impl Into<Option<&'env Bitmap>>,
arg5: impl Into<Option<&'env Bitmap>>,
arg6: impl Into<Option<&'env Bitmap>>,
arg7: impl Into<Option<&'env Allocation_MipmapControl>>,
arg8: i32
) -> Result<Option<Local<'env, Allocation>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env RenderScript>>,
arg1: impl Into<Option<&'env Bitmap>>,
arg2: impl Into<Option<&'env Bitmap>>,
arg3: impl Into<Option<&'env Bitmap>>,
arg4: impl Into<Option<&'env Bitmap>>,
arg5: impl Into<Option<&'env Bitmap>>,
arg6: impl Into<Option<&'env Bitmap>>,
arg7: impl Into<Option<&'env Allocation_MipmapControl>>,
arg8: i32
) -> Result<Option<Local<'env, Allocation>>, Local<'env, Throwable>>
Required features: "android-graphics-Bitmap", "android-renderscript-Allocation", "android-renderscript-Allocation_MipmapControl", "android-renderscript-RenderScript"
pub fn createCubemapFromCubeFaces_RenderScript_Bitmap_Bitmap_Bitmap_Bitmap_Bitmap_Bitmap<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env RenderScript>>,
arg1: impl Into<Option<&'env Bitmap>>,
arg2: impl Into<Option<&'env Bitmap>>,
arg3: impl Into<Option<&'env Bitmap>>,
arg4: impl Into<Option<&'env Bitmap>>,
arg5: impl Into<Option<&'env Bitmap>>,
arg6: impl Into<Option<&'env Bitmap>>
) -> Result<Option<Local<'env, Allocation>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env RenderScript>>,
arg1: impl Into<Option<&'env Bitmap>>,
arg2: impl Into<Option<&'env Bitmap>>,
arg3: impl Into<Option<&'env Bitmap>>,
arg4: impl Into<Option<&'env Bitmap>>,
arg5: impl Into<Option<&'env Bitmap>>,
arg6: impl Into<Option<&'env Bitmap>>
) -> Result<Option<Local<'env, Allocation>>, Local<'env, Throwable>>
Required features: "android-graphics-Bitmap", "android-renderscript-Allocation", "android-renderscript-RenderScript"
pub fn createFromBitmapResource_RenderScript_Resources_int_MipmapControl_int<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env RenderScript>>,
arg1: impl Into<Option<&'env Resources>>,
arg2: i32,
arg3: impl Into<Option<&'env Allocation_MipmapControl>>,
arg4: i32
) -> Result<Option<Local<'env, Allocation>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env RenderScript>>,
arg1: impl Into<Option<&'env Resources>>,
arg2: i32,
arg3: impl Into<Option<&'env Allocation_MipmapControl>>,
arg4: i32
) -> Result<Option<Local<'env, Allocation>>, Local<'env, Throwable>>
Required features: "android-content-res-Resources", "android-renderscript-Allocation", "android-renderscript-Allocation_MipmapControl", "android-renderscript-RenderScript"
pub fn createFromBitmapResource_RenderScript_Resources_int<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env RenderScript>>,
arg1: impl Into<Option<&'env Resources>>,
arg2: i32
) -> Result<Option<Local<'env, Allocation>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env RenderScript>>,
arg1: impl Into<Option<&'env Resources>>,
arg2: i32
) -> Result<Option<Local<'env, Allocation>>, Local<'env, Throwable>>
Required features: "android-content-res-Resources", "android-renderscript-Allocation", "android-renderscript-RenderScript"
pub fn createFromString<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env RenderScript>>,
arg1: impl Into<Option<&'env String>>,
arg2: i32
) -> Result<Option<Local<'env, Allocation>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env RenderScript>>,
arg1: impl Into<Option<&'env String>>,
arg2: i32
) -> Result<Option<Local<'env, Allocation>>, Local<'env, Throwable>>
Required features: "android-renderscript-Allocation", "android-renderscript-RenderScript", "java-lang-String"
pub fn setOnBufferAvailableListener<'env>(
&'env self,
arg0: impl Into<Option<&'env Allocation_OnBufferAvailableListener>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Allocation_OnBufferAvailableListener>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-renderscript-Allocation_OnBufferAvailableListener"
pub fn destroy<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub const USAGE_GRAPHICS_CONSTANTS: i32
[src]
public static final USAGE_GRAPHICS_CONSTANTS
pub const USAGE_GRAPHICS_RENDER_TARGET: i32
[src]
public static final USAGE_GRAPHICS_RENDER_TARGET
pub const USAGE_GRAPHICS_TEXTURE: i32
[src]
public static final USAGE_GRAPHICS_TEXTURE
pub const USAGE_GRAPHICS_VERTEX: i32
[src]
public static final USAGE_GRAPHICS_VERTEX
pub const USAGE_IO_INPUT: i32
[src]
public static final USAGE_IO_INPUT
pub const USAGE_IO_OUTPUT: i32
[src]
public static final USAGE_IO_OUTPUT
pub const USAGE_SCRIPT: i32
[src]
public static final USAGE_SCRIPT
pub const USAGE_SHARED: i32
[src]
public static final USAGE_SHARED
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 Allocation
impl AsValidJObjectAndEnv for Allocation
impl Deref for Allocation
impl JniType for Allocation
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for Allocation
impl !Send for Allocation
impl !Sync for Allocation
impl Unpin for Allocation
impl UnwindSafe for Allocation
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>,