pub enum AdoptAs {
FirstChild,
LastChild,
PreviousSibling,
NextSibling,
}Expand description
Relation of the node being adopted.
Variants§
FirstChild
As the first child.
LastChild
As the last child.
PreviousSibling
As the previous sibling.
NextSibling
As the next sibling.
Trait Implementations§
impl Copy for AdoptAs
impl Eq for AdoptAs
impl StructuralPartialEq for AdoptAs
Auto Trait Implementations§
impl Freeze for AdoptAs
impl RefUnwindSafe for AdoptAs
impl Send for AdoptAs
impl Sync for AdoptAs
impl Unpin for AdoptAs
impl UnwindSafe for AdoptAs
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