pub struct CommandGroup<C> {
pub commands: Vec<C>,
pub trailing_comments: Vec<Newline>,
}
Expand description
A grouping of a list of commands and any comments trailing after the commands.
Fields§
§commands: Vec<C>
The sequential list of commands.
trailing_comments: Vec<Newline>
Any trailing comments appearing on the next line after the last command.
Trait Implementations§
Source§impl<C: Clone> Clone for CommandGroup<C>
impl<C: Clone> Clone for CommandGroup<C>
Source§fn clone(&self) -> CommandGroup<C>
fn clone(&self) -> CommandGroup<C>
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<C: Debug> Debug for CommandGroup<C>
impl<C: Debug> Debug for CommandGroup<C>
Source§impl<C: PartialEq> PartialEq for CommandGroup<C>
impl<C: PartialEq> PartialEq for CommandGroup<C>
impl<C: Eq> Eq for CommandGroup<C>
impl<C> StructuralPartialEq for CommandGroup<C>
Auto Trait Implementations§
impl<C> Freeze for CommandGroup<C>
impl<C> RefUnwindSafe for CommandGroup<C>where
C: RefUnwindSafe,
impl<C> Send for CommandGroup<C>where
C: Send,
impl<C> Sync for CommandGroup<C>where
C: Sync,
impl<C> Unpin for CommandGroup<C>where
C: Unpin,
impl<C> UnwindSafe for CommandGroup<C>where
C: UnwindSafe,
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