pub enum WatchCommentType {
Todo,
Fixme,
Hack,
Xxx,
All,
}Expand description
Comment types to detect in watched files.
Variants§
Todo
Detect TODO comments.
Fixme
Detect FIXME comments.
Hack
Detect HACK comments.
Xxx
Detect XXX comments.
All
Detect all comment types (default).
Trait Implementations§
Source§impl Clone for WatchCommentType
impl Clone for WatchCommentType
Source§fn clone(&self) -> WatchCommentType
fn clone(&self) -> WatchCommentType
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 moreSource§impl Debug for WatchCommentType
impl Debug for WatchCommentType
Source§impl From<WatchCommentType> for CommentType
impl From<WatchCommentType> for CommentType
Source§fn from(value: WatchCommentType) -> Self
fn from(value: WatchCommentType) -> Self
Converts to this type from the input type.
Source§impl PartialEq for WatchCommentType
impl PartialEq for WatchCommentType
Source§impl ValueEnum for WatchCommentType
impl ValueEnum for WatchCommentType
impl Copy for WatchCommentType
impl Eq for WatchCommentType
impl StructuralPartialEq for WatchCommentType
Auto Trait Implementations§
impl Freeze for WatchCommentType
impl RefUnwindSafe for WatchCommentType
impl Send for WatchCommentType
impl Sync for WatchCommentType
impl Unpin for WatchCommentType
impl UnsafeUnpin for WatchCommentType
impl UnwindSafe for WatchCommentType
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.