pub enum UnpackPath<'a> {
Valid(&'a Path),
Ignore,
Invalid,
}
Variants§
Trait Implementations§
source§impl<'a> Debug for UnpackPath<'a>
impl<'a> Debug for UnpackPath<'a>
source§impl<'a> PartialEq<UnpackPath<'a>> for UnpackPath<'a>
impl<'a> PartialEq<UnpackPath<'a>> for UnpackPath<'a>
source§fn eq(&self, other: &UnpackPath<'a>) -> bool
fn eq(&self, other: &UnpackPath<'a>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<'a> Eq for UnpackPath<'a>
impl<'a> StructuralEq for UnpackPath<'a>
impl<'a> StructuralPartialEq for UnpackPath<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for UnpackPath<'a>
impl<'a> Send for UnpackPath<'a>
impl<'a> Sync for UnpackPath<'a>
impl<'a> Unpin for UnpackPath<'a>
impl<'a> UnwindSafe for UnpackPath<'a>
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.