Struct insta::internals::ContentPath
source · [−]pub struct ContentPath<'a>(_);
Available on crate feature
redactions
only.Expand description
Represents a path for a callback function.
This can be converted into a string with to_string
to see a stringified
path that the selector matched.
Trait Implementations
sourceimpl<'a> Clone for ContentPath<'a>
impl<'a> Clone for ContentPath<'a>
sourcefn clone(&self) -> ContentPath<'a>
fn clone(&self) -> ContentPath<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<'a> Debug for ContentPath<'a>
impl<'a> Debug for ContentPath<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for ContentPath<'a>
impl<'a> Send for ContentPath<'a>
impl<'a> Sync for ContentPath<'a>
impl<'a> Unpin for ContentPath<'a>
impl<'a> UnwindSafe for ContentPath<'a>
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