Struct jni::objects::AutoArray [−][src]
pub struct AutoArray<'a: 'b, 'b, T: TypeArray> { /* fields omitted */ }
Expand description
Auto-release wrapper for pointer-based generic arrays.
This wrapper is used to wrap pointers returned by GetFrom
impl.
AutoArray provides automatic array release through a call to appropriate
Release
Implementations
Don’t commit the changes to the array on release (if it is a copy).
This has no effect if the array is not a copy.
This method is useful to change the release mode of an array originally created
with ReleaseMode::CopyBack
.