pub struct PerformIndexCloningNode<T> { /* private fields */ }Expand description
Perform node - created from PrepareNode for each clone operation.
Implementations§
Source§impl<T: Clone> PerformIndexCloningNode<T>
impl<T: Clone> PerformIndexCloningNode<T>
Sourcepub fn from_prepare_node(node: &PrepareIndexCloningNode<T>) -> Self
pub fn from_prepare_node(node: &PrepareIndexCloningNode<T>) -> Self
Create from a prepare node. This clones the pos_array.
Sourcepub fn handle_reference(&mut self, orig: &IndexRef<T>) -> IndexRef<T>
pub fn handle_reference(&mut self, orig: &IndexRef<T>) -> IndexRef<T>
Handle a reference during clone phase. Must be called in the same order as during preparation.
Auto Trait Implementations§
impl<T> Freeze for PerformIndexCloningNode<T>
impl<T> !RefUnwindSafe for PerformIndexCloningNode<T>
impl<T> !Send for PerformIndexCloningNode<T>
impl<T> !Sync for PerformIndexCloningNode<T>
impl<T> Unpin for PerformIndexCloningNode<T>
impl<T> UnsafeUnpin for PerformIndexCloningNode<T>
impl<T> !UnwindSafe for PerformIndexCloningNode<T>
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