pub struct CommentNode {
pub meta: Meta,
pub text: String,
}Expand description
Line comment node.
Fields§
§meta: Meta§text: StringTrait Implementations§
Source§impl Clone for CommentNode
impl Clone for CommentNode
Source§fn clone(&self) -> CommentNode
fn clone(&self) -> CommentNode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CommentNode
impl Debug for CommentNode
Source§impl PartialEq for CommentNode
impl PartialEq for CommentNode
impl Eq for CommentNode
impl StructuralPartialEq for CommentNode
Auto Trait Implementations§
impl Freeze for CommentNode
impl RefUnwindSafe for CommentNode
impl Send for CommentNode
impl Sync for CommentNode
impl Unpin for CommentNode
impl UnsafeUnpin for CommentNode
impl UnwindSafe for CommentNode
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