Enum solang_parser::doccomment::DocComment
source · pub enum DocComment {
Line {
comment: DocCommentTag,
},
Block {
comments: Vec<DocCommentTag>,
},
}
Variants§
Implementations§
source§impl DocComment
impl DocComment
pub fn comments(&self) -> Vec<&DocCommentTag>
Trait Implementations§
source§impl Clone for DocComment
impl Clone for DocComment
source§fn clone(&self) -> DocComment
fn clone(&self) -> DocComment
Returns a copy 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 DocComment
impl Debug for DocComment
source§impl PartialEq<DocComment> for DocComment
impl PartialEq<DocComment> for DocComment
source§fn eq(&self, other: &DocComment) -> bool
fn eq(&self, other: &DocComment) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.