Enum jni::objects::ReleaseMode
source · #[repr(i32)]
pub enum ReleaseMode {
CopyBack,
NoCopyBack,
}
Expand description
ReleaseMode
This defines the release mode of AutoElements
(and AutoElementsCritical
) resources, and
related release array functions.
Variants§
CopyBack
Copy back the content and free the elems buffer. For read-only access, prefer
NoCopyBack
.
NoCopyBack
Free the buffer without copying back the possible changes.
Trait Implementations§
source§impl Clone for ReleaseMode
impl Clone for ReleaseMode
source§fn clone(&self) -> ReleaseMode
fn clone(&self) -> ReleaseMode
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more