#[repr(i32)]pub enum ReleaseMode {
CopyBack = 0,
NoCopyBack = 2,
}
Expand description
ReleaseMode
This defines the release mode of [AutoElements
] (and [AutoElementsCritical
]) resources, and
related release array functions.
Variants§
CopyBack = 0
Copy back the content and free the elems buffer. For read-only access, prefer
NoCopyBack
.
NoCopyBack = 2
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 moreSource§impl Debug for ReleaseMode
impl Debug for ReleaseMode
impl Copy for ReleaseMode
Auto Trait Implementations§
impl Freeze for ReleaseMode
impl RefUnwindSafe for ReleaseMode
impl Send for ReleaseMode
impl Sync for ReleaseMode
impl Unpin for ReleaseMode
impl UnwindSafe for ReleaseMode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more