pub enum DeleteStrategy {
Promote,
Cascade,
}
Expand description
The strategy to use when deleting a node.
Variants§
Promote
Promote this node’s children to the node’s parent.
Cascade
Cascade the deletion to this node’s children.
Trait Implementations§
Source§impl Clone for DeleteStrategy
impl Clone for DeleteStrategy
Source§fn clone(&self) -> DeleteStrategy
fn clone(&self) -> DeleteStrategy
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 DeleteStrategy
impl Debug for DeleteStrategy
Source§impl PartialEq for DeleteStrategy
impl PartialEq for DeleteStrategy
impl Copy for DeleteStrategy
impl Eq for DeleteStrategy
impl StructuralPartialEq for DeleteStrategy
Auto Trait Implementations§
impl Freeze for DeleteStrategy
impl RefUnwindSafe for DeleteStrategy
impl Send for DeleteStrategy
impl Sync for DeleteStrategy
impl Unpin for DeleteStrategy
impl UnwindSafe for DeleteStrategy
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