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