Struct clang::documentation::Comment [−][src]
pub struct Comment<'tu> { /* fields omitted */ }
A comment attached to a declaration.
Methods
impl<'tu> Comment<'tu>
[src]
impl<'tu> Comment<'tu>
pub fn get_children(&self) -> Vec<CommentChild>
[src]
pub fn get_children(&self) -> Vec<CommentChild>
Returns the children of this comment.
pub fn as_html(&self) -> String
[src]
pub fn as_html(&self) -> String
Returns this comment as an HTML string.
pub fn as_xml(&self) -> String
[src]
pub fn as_xml(&self) -> String
Returns this comment as an XML string.
Trait Implementations
impl<'tu> Copy for Comment<'tu>
[src]
impl<'tu> Copy for Comment<'tu>
impl<'tu> Clone for Comment<'tu>
[src]
impl<'tu> Clone for Comment<'tu>
fn clone(&self) -> Comment<'tu>
[src]
fn clone(&self) -> Comment<'tu>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<'tu> Debug for Comment<'tu>
[src]
impl<'tu> Debug for Comment<'tu>