pub struct TestCaseMatch<'i> {
pub literal: Literal<'i>,
pub captures: Vec<TestCapture<'i>>,
pub span: Span,
}
Fields§
§literal: Literal<'i>
§captures: Vec<TestCapture<'i>>
§span: Span
Trait Implementations§
Source§impl<'i> Clone for TestCaseMatch<'i>
impl<'i> Clone for TestCaseMatch<'i>
Source§fn clone(&self) -> TestCaseMatch<'i>
fn clone(&self) -> TestCaseMatch<'i>
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 moreAuto Trait Implementations§
impl<'i> Freeze for TestCaseMatch<'i>
impl<'i> RefUnwindSafe for TestCaseMatch<'i>
impl<'i> Send for TestCaseMatch<'i>
impl<'i> Sync for TestCaseMatch<'i>
impl<'i> Unpin for TestCaseMatch<'i>
impl<'i> UnwindSafe for TestCaseMatch<'i>
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