[−]Struct jni_android_sys::android::renderscript::AllocationAdapter
public class AllocationAdapter
Required feature: "android-renderscript-AllocationAdapter"
Methods
impl AllocationAdapter
pub fn setLOD<'env>(&'env self, arg0: i32) -> Result<(), Local<'env, Throwable>>
[src]
pub fn setFace<'env>(
&'env self,
arg0: impl Into<Option<&'env Type_CubemapFace>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Type_CubemapFace>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-renderscript-Type_CubemapFace"
pub fn setX<'env>(&'env self, arg0: i32) -> Result<(), Local<'env, Throwable>>
[src]
pub fn setY<'env>(&'env self, arg0: i32) -> Result<(), Local<'env, Throwable>>
[src]
pub fn setZ<'env>(&'env self, arg0: i32) -> Result<(), Local<'env, Throwable>>
[src]
pub fn create1D<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env RenderScript>>,
arg1: impl Into<Option<&'env Allocation>>
) -> Result<Option<Local<'env, AllocationAdapter>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env RenderScript>>,
arg1: impl Into<Option<&'env Allocation>>
) -> Result<Option<Local<'env, AllocationAdapter>>, Local<'env, Throwable>>
Required features: "android-renderscript-Allocation", "android-renderscript-AllocationAdapter", "android-renderscript-RenderScript"
pub fn create2D<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env RenderScript>>,
arg1: impl Into<Option<&'env Allocation>>
) -> Result<Option<Local<'env, AllocationAdapter>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env RenderScript>>,
arg1: impl Into<Option<&'env Allocation>>
) -> Result<Option<Local<'env, AllocationAdapter>>, Local<'env, Throwable>>
Required features: "android-renderscript-Allocation", "android-renderscript-AllocationAdapter", "android-renderscript-RenderScript"
pub fn createTyped<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env RenderScript>>,
arg1: impl Into<Option<&'env Allocation>>,
arg2: impl Into<Option<&'env Type>>
) -> Result<Option<Local<'env, AllocationAdapter>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env RenderScript>>,
arg1: impl Into<Option<&'env Allocation>>,
arg2: impl Into<Option<&'env Type>>
) -> Result<Option<Local<'env, AllocationAdapter>>, Local<'env, Throwable>>
Required features: "android-renderscript-Allocation", "android-renderscript-AllocationAdapter", "android-renderscript-RenderScript", "android-renderscript-Type"
pub fn resize<'env>(&'env self, arg0: i32) -> Result<(), Local<'env, Throwable>>
[src]
Methods from Deref<Target = 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 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 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 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]
pub const USAGE_GRAPHICS_RENDER_TARGET: i32
[src]
pub const USAGE_GRAPHICS_TEXTURE: i32
[src]
pub const USAGE_GRAPHICS_VERTEX: i32
[src]
pub const USAGE_IO_INPUT: i32
[src]
pub const USAGE_IO_OUTPUT: i32
[src]
pub const USAGE_SCRIPT: i32
[src]
pub const USAGE_SHARED: i32
[src]
Trait Implementations
impl AsJValue for AllocationAdapter
impl AsValidJObjectAndEnv for AllocationAdapter
impl Deref for AllocationAdapter
impl JniType for AllocationAdapter
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for AllocationAdapter
impl !Send for AllocationAdapter
impl !Sync for AllocationAdapter
impl Unpin for AllocationAdapter
impl UnwindSafe for AllocationAdapter
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>,