Enum html5ever::tree_builder::types::InsertionPoint
source · pub(crate) enum InsertionPoint<Handle> {
LastChild(Handle),
BeforeSibling(Handle),
TableFosterParenting {
element: Handle,
prev_element: Handle,
},
}
Variants§
LastChild(Handle)
Insert as last child in this parent.
BeforeSibling(Handle)
Insert before this following sibling.
TableFosterParenting
Insertion point is decided based on existence of element’s parent node.
Auto Trait Implementations§
impl<Handle> Freeze for InsertionPoint<Handle>where
Handle: Freeze,
impl<Handle> RefUnwindSafe for InsertionPoint<Handle>where
Handle: RefUnwindSafe,
impl<Handle> Send for InsertionPoint<Handle>where
Handle: Send,
impl<Handle> Sync for InsertionPoint<Handle>where
Handle: Sync,
impl<Handle> Unpin for InsertionPoint<Handle>where
Handle: Unpin,
impl<Handle> UnwindSafe for InsertionPoint<Handle>where
Handle: UnwindSafe,
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