pub enum PersistentApplyStrategy {
PathCopy,
Rebuild,
}Expand description
Which application strategy the prototype uses for a given operation.
Variants§
PathCopy
Native structural-sharing path copy (O(depth) new nodes).
Rebuild
Flatten → conservative baseline → rebuild (no sharing).
Trait Implementations§
Source§impl Clone for PersistentApplyStrategy
impl Clone for PersistentApplyStrategy
Source§fn clone(&self) -> PersistentApplyStrategy
fn clone(&self) -> PersistentApplyStrategy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PersistentApplyStrategy
Source§impl Debug for PersistentApplyStrategy
impl Debug for PersistentApplyStrategy
impl Eq for PersistentApplyStrategy
Source§impl PartialEq for PersistentApplyStrategy
impl PartialEq for PersistentApplyStrategy
Source§fn eq(&self, other: &PersistentApplyStrategy) -> bool
fn eq(&self, other: &PersistentApplyStrategy) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PersistentApplyStrategy
Auto Trait Implementations§
impl Freeze for PersistentApplyStrategy
impl RefUnwindSafe for PersistentApplyStrategy
impl Send for PersistentApplyStrategy
impl Sync for PersistentApplyStrategy
impl Unpin for PersistentApplyStrategy
impl UnsafeUnpin for PersistentApplyStrategy
impl UnwindSafe for PersistentApplyStrategy
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