pub struct DocumentSpec { /* private fields */ }Expand description
Document node spec.
Trait Implementations§
Source§impl InternalNodeSpec for DocumentSpec
impl InternalNodeSpec for DocumentSpec
Source§fn set_first_child(&mut self, new: Rc<RefCell<NodeCore<dyn NodeSpec>>>)
fn set_first_child(&mut self, new: Rc<RefCell<NodeCore<dyn NodeSpec>>>)
Set the pointer of the first child.
Source§fn unset_first_child(&mut self)
fn unset_first_child(&mut self)
Unset the pointer of the first child.
Source§fn set_last_child(&mut self, new: Rc<RefCell<NodeCore<dyn NodeSpec>>>)
fn set_last_child(&mut self, new: Rc<RefCell<NodeCore<dyn NodeSpec>>>)
Set the pointer of the last child.
Source§fn unset_last_child(&mut self)
fn unset_last_child(&mut self)
Unset the pointer of the last child.
Source§fn pre_child_removal(
&mut self,
removed_child: Node<dyn NodeSpec>,
) -> Result<(), XMLTreeError>
fn pre_child_removal( &mut self, removed_child: Node<dyn NodeSpec>, ) -> Result<(), XMLTreeError>
The process performed immediately before deleting a child.
Source§impl NodeSpec for DocumentSpec
impl NodeSpec for DocumentSpec
Auto Trait Implementations§
impl !RefUnwindSafe for DocumentSpec
impl !Send for DocumentSpec
impl !Sync for DocumentSpec
impl !UnwindSafe for DocumentSpec
impl Freeze for DocumentSpec
impl Unpin for DocumentSpec
impl UnsafeUnpin for DocumentSpec
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