pub struct DevelopWatch { /* private fields */ }Expand description
One declared watch action. The type deliberately never watches a path or executes a command.
Implementations§
Source§impl DevelopWatch
impl DevelopWatch
pub const fn span(&self) -> SourceSpan
pub const fn action(&self) -> Option<&Located<String>>
pub const fn path(&self) -> Option<&Located<String>>
pub const fn target(&self) -> Option<&Located<String>>
pub fn ignore(&self) -> &[Located<String>]
pub fn include(&self) -> &[Located<String>]
pub const fn initial_sync(&self) -> Option<&Located<BooleanValue>>
pub const fn exec(&self) -> Option<&DevelopWatchExec>
pub fn unmodeled_fields(&self) -> &[FieldReference]
Trait Implementations§
Source§impl Clone for DevelopWatch
impl Clone for DevelopWatch
Source§fn clone(&self) -> DevelopWatch
fn clone(&self) -> DevelopWatch
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 DevelopWatch
impl Debug for DevelopWatch
impl Eq for DevelopWatch
Source§impl PartialEq for DevelopWatch
impl PartialEq for DevelopWatch
impl StructuralPartialEq for DevelopWatch
Auto Trait Implementations§
impl Freeze for DevelopWatch
impl RefUnwindSafe for DevelopWatch
impl Send for DevelopWatch
impl Sync for DevelopWatch
impl Unpin for DevelopWatch
impl UnsafeUnpin for DevelopWatch
impl UnwindSafe for DevelopWatch
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