pub enum InPlaceMode {
Safe,
Unsafe,
None,
}Expand description
In-place operation marker
Variants§
Safe
Safe in-place (no aliasing)
Unsafe
Unsafe in-place (potential aliasing, user responsible)
None
No in-place operation
Trait Implementations§
Source§impl Clone for InPlaceMode
impl Clone for InPlaceMode
Source§fn clone(&self) -> InPlaceMode
fn clone(&self) -> InPlaceMode
Returns a duplicate 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 InPlaceMode
impl Debug for InPlaceMode
Source§impl PartialEq for InPlaceMode
impl PartialEq for InPlaceMode
impl Copy for InPlaceMode
impl Eq for InPlaceMode
impl StructuralPartialEq for InPlaceMode
Auto Trait Implementations§
impl Freeze for InPlaceMode
impl RefUnwindSafe for InPlaceMode
impl Send for InPlaceMode
impl Sync for InPlaceMode
impl Unpin for InPlaceMode
impl UnwindSafe for InPlaceMode
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