pub struct Comment { /* private fields */ }
Expand description
A comment node.
Implementations§
Trait Implementations§
Source§impl Node for Comment
impl Node for Comment
Source§fn get_attributes(&self) -> Option<&Attributes>
fn get_attributes(&self) -> Option<&Attributes>
Return the attributes.
Source§fn get_attributes_mut(&mut self) -> Option<&mut Attributes>
fn get_attributes_mut(&mut self) -> Option<&mut Attributes>
Return the attributes as mutable.
Source§fn get_children(&self) -> Option<&Children>
fn get_children(&self) -> Option<&Children>
Return the children.
Source§fn get_children_mut(&mut self) -> Option<&mut Children>
fn get_children_mut(&mut self) -> Option<&mut Children>
Return the children as mutable.
Auto Trait Implementations§
impl Freeze for Comment
impl RefUnwindSafe for Comment
impl Send for Comment
impl Sync for Comment
impl Unpin for Comment
impl UnwindSafe for Comment
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