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 RefUnwindSafe for AutoName
impl Send for AutoName
impl Sync for AutoName
impl Unpin for AutoName
impl UnwindSafe for AutoName
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more