pub struct AutoName;
Expand description
Special marker to use an automatic name.
This can be passed as a snapshot name in a macro to explicitly tell insta to use the automatic name. This is useful in ambiguous syntax situations.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AutoName
impl RefUnwindSafe for AutoName
impl Send for AutoName
impl Sync for AutoName
impl Unpin for AutoName
impl UnwindSafe for AutoName
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