pub enum PathMatchKind {
File,
Directory,
}Expand description
Whether a resolved path points to a file or a directory.
Variants§
Trait Implementations§
Source§impl Clone for PathMatchKind
impl Clone for PathMatchKind
Source§fn clone(&self) -> PathMatchKind
fn clone(&self) -> PathMatchKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PathMatchKind
impl Debug for PathMatchKind
Source§impl PartialEq for PathMatchKind
impl PartialEq for PathMatchKind
Source§fn eq(&self, other: &PathMatchKind) -> bool
fn eq(&self, other: &PathMatchKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for PathMatchKind
impl Eq for PathMatchKind
impl StructuralPartialEq for PathMatchKind
Auto Trait Implementations§
impl Freeze for PathMatchKind
impl RefUnwindSafe for PathMatchKind
impl Send for PathMatchKind
impl Sync for PathMatchKind
impl Unpin for PathMatchKind
impl UnsafeUnpin for PathMatchKind
impl UnwindSafe for PathMatchKind
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