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§
Source§impl Clone for InlineCommand
impl Clone for InlineCommand
Source§fn clone(&self) -> InlineCommand
fn clone(&self) -> InlineCommand
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 InlineCommand
impl Debug for InlineCommand
Source§impl PartialEq for InlineCommand
impl PartialEq for InlineCommand
impl Eq for InlineCommand
impl StructuralPartialEq for InlineCommand
Auto Trait Implementations§
impl Freeze for InlineCommand
impl RefUnwindSafe for InlineCommand
impl Send for InlineCommand
impl Sync for InlineCommand
impl Unpin for InlineCommand
impl UnwindSafe for InlineCommand
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