pub enum CloneKind {
Shallow,
Deep,
}
Expand description
An enum which determines whenever the DOM Node’s children will also be cloned or not.
Mainly used in INode::clone_node. Also used in Document::import_node.
Variants§
Trait Implementations§
impl Copy for CloneKind
impl Eq for CloneKind
impl StructuralPartialEq for CloneKind
Auto Trait Implementations§
impl Freeze for CloneKind
impl RefUnwindSafe for CloneKind
impl Send for CloneKind
impl Sync for CloneKind
impl Unpin for CloneKind
impl UnwindSafe for CloneKind
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