pub struct DoubleBracketCommand {
pub words: Vec<Word>,
pub span: Span,
}Expand description
A [[ expression ]] extended test command.
Fields§
§words: Vec<Word>The words inside [[ ... ]].
span: SpanSource span.
Trait Implementations§
Source§impl Clone for DoubleBracketCommand
impl Clone for DoubleBracketCommand
Source§fn clone(&self) -> DoubleBracketCommand
fn clone(&self) -> DoubleBracketCommand
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DoubleBracketCommand
impl Debug for DoubleBracketCommand
Source§impl PartialEq for DoubleBracketCommand
impl PartialEq for DoubleBracketCommand
Source§fn eq(&self, other: &DoubleBracketCommand) -> bool
fn eq(&self, other: &DoubleBracketCommand) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DoubleBracketCommand
Auto Trait Implementations§
impl Freeze for DoubleBracketCommand
impl RefUnwindSafe for DoubleBracketCommand
impl Send for DoubleBracketCommand
impl Sync for DoubleBracketCommand
impl Unpin for DoubleBracketCommand
impl UnsafeUnpin for DoubleBracketCommand
impl UnwindSafe for DoubleBracketCommand
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