Struct watchexec::WatchedPath
source · pub struct WatchedPath { /* private fields */ }
Expand description
A path to watch.
Can be a recursive or non-recursive watch.
Implementations§
Trait Implementations§
source§impl AsRef<Path> for WatchedPath
impl AsRef<Path> for WatchedPath
source§impl Clone for WatchedPath
impl Clone for WatchedPath
source§fn clone(&self) -> WatchedPath
fn clone(&self) -> WatchedPath
Returns a copy of the value. Read more
1.0.0 · 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 WatchedPath
impl Debug for WatchedPath
source§impl Default for WatchedPath
impl Default for WatchedPath
source§fn default() -> WatchedPath
fn default() -> WatchedPath
Returns the “default value” for a type. Read more
source§impl From<&Path> for WatchedPath
impl From<&Path> for WatchedPath
source§impl From<&WatchedPath> for PathBuf
impl From<&WatchedPath> for PathBuf
source§fn from(path: &WatchedPath) -> Self
fn from(path: &WatchedPath) -> Self
Converts to this type from the input type.
source§impl From<&str> for WatchedPath
impl From<&str> for WatchedPath
source§impl From<PathBuf> for WatchedPath
impl From<PathBuf> for WatchedPath
source§impl From<String> for WatchedPath
impl From<String> for WatchedPath
source§impl From<WatchedPath> for PathBuf
impl From<WatchedPath> for PathBuf
source§fn from(path: WatchedPath) -> Self
fn from(path: WatchedPath) -> Self
Converts to this type from the input type.
source§impl Hash for WatchedPath
impl Hash for WatchedPath
source§impl Ord for WatchedPath
impl Ord for WatchedPath
source§fn cmp(&self, other: &WatchedPath) -> Ordering
fn cmp(&self, other: &WatchedPath) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for WatchedPath
impl PartialEq for WatchedPath
source§fn eq(&self, other: &WatchedPath) -> bool
fn eq(&self, other: &WatchedPath) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for WatchedPath
impl PartialOrd for WatchedPath
source§fn partial_cmp(&self, other: &WatchedPath) -> Option<Ordering>
fn partial_cmp(&self, other: &WatchedPath) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for WatchedPath
impl StructuralPartialEq for WatchedPath
Auto Trait Implementations§
impl Freeze for WatchedPath
impl RefUnwindSafe for WatchedPath
impl Send for WatchedPath
impl Sync for WatchedPath
impl Unpin for WatchedPath
impl UnwindSafe for WatchedPath
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
source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.