pub struct WatchOptions {
pub patterns: Vec<String>,
pub debounce_ms: u64,
pub auto_queue: bool,
pub notify: bool,
pub ignore_patterns: Vec<String>,
pub comment_types: Vec<CommentType>,
pub paths: Vec<PathBuf>,
pub force: bool,
pub close_removed: bool,
}Expand description
Options for the watch command.
Fields§
§patterns: Vec<String>§debounce_ms: u64§auto_queue: bool§notify: bool§ignore_patterns: Vec<String>§comment_types: Vec<CommentType>§paths: Vec<PathBuf>§force: bool§close_removed: boolTrait Implementations§
Source§impl Clone for WatchOptions
impl Clone for WatchOptions
Source§fn clone(&self) -> WatchOptions
fn clone(&self) -> WatchOptions
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for WatchOptions
impl RefUnwindSafe for WatchOptions
impl Send for WatchOptions
impl Sync for WatchOptions
impl Unpin for WatchOptions
impl UnsafeUnpin for WatchOptions
impl UnwindSafe for WatchOptions
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