Struct clang::documentation::InlineCommand
source · [−]pub struct InlineCommand {
pub command: String,
pub arguments: Vec<String>,
pub style: Option<InlineCommandStyle>,
}
Expand description
An inline command with word-like arguments.
Fields
command: String
The command.
arguments: Vec<String>
The command arguments.
style: Option<InlineCommandStyle>
The style with which to render the command arguments, if any.
Trait Implementations
sourceimpl Clone for InlineCommand
impl Clone for InlineCommand
sourcefn clone(&self) -> InlineCommand
fn clone(&self) -> InlineCommand
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 InlineCommand
impl Debug for InlineCommand
sourceimpl PartialEq<InlineCommand> for InlineCommand
impl PartialEq<InlineCommand> for InlineCommand
sourcefn eq(&self, other: &InlineCommand) -> bool
fn eq(&self, other: &InlineCommand) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &InlineCommand) -> bool
fn ne(&self, other: &InlineCommand) -> bool
This method tests for !=
.
impl Eq for InlineCommand
impl StructuralEq for InlineCommand
impl StructuralPartialEq for InlineCommand
Auto Trait Implementations
impl RefUnwindSafe for InlineCommand
impl Send for InlineCommand
impl Sync for InlineCommand
impl Unpin for InlineCommand
impl UnwindSafe for InlineCommand
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