Enum clang::documentation::CommentChild
source · [−]pub enum CommentChild {
BlockCommand(BlockCommand),
HtmlStartTag(HtmlStartTag),
HtmlEndTag(String),
InlineCommand(InlineCommand),
Paragraph(Vec<CommentChild>),
ParamCommand(ParamCommand),
TParamCommand(TParamCommand),
Text(String),
VerbatimCommand(Vec<String>),
VerbatimLineCommand(String),
}
Expand description
A child component of a comment.
Variants
BlockCommand(BlockCommand)
A block command with zero or more arguments and a paragraph as an argument.
HtmlStartTag(HtmlStartTag)
An HTML start tag.
HtmlEndTag(String)
An HTML end tag.
InlineCommand(InlineCommand)
An inline command with word-like arguments.
Paragraph(Vec<CommentChild>)
A paragraph containing inline content.
ParamCommand(ParamCommand)
A \param
command.
TParamCommand(TParamCommand)
A \tparam
command.
Text(String)
Plain text.
VerbatimCommand(Vec<String>)
A verbatim command with a closing command.
VerbatimLineCommand(String)
A verbatim command with a single line and no closing command.
Trait Implementations
sourceimpl Clone for CommentChild
impl Clone for CommentChild
sourcefn clone(&self) -> CommentChild
fn clone(&self) -> CommentChild
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CommentChild
impl Debug for CommentChild
sourceimpl PartialEq<CommentChild> for CommentChild
impl PartialEq<CommentChild> for CommentChild
sourcefn eq(&self, other: &CommentChild) -> bool
fn eq(&self, other: &CommentChild) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CommentChild) -> bool
fn ne(&self, other: &CommentChild) -> bool
This method tests for !=
.
impl Eq for CommentChild
impl StructuralEq for CommentChild
impl StructuralPartialEq for CommentChild
Auto Trait Implementations
impl RefUnwindSafe for CommentChild
impl Send for CommentChild
impl Sync for CommentChild
impl Unpin for CommentChild
impl UnwindSafe for CommentChild
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more