pub enum WatcherEventKind {
Passthrough,
Region,
}Expand description
Kind of event emitted by ToolWatcher::feed.
Variants§
Passthrough
Token IDs outside any watched region. Forward as-is.
Region
A complete start..end region with markers excluded.
Trait Implementations§
Source§impl Clone for WatcherEventKind
impl Clone for WatcherEventKind
Source§fn clone(&self) -> WatcherEventKind
fn clone(&self) -> WatcherEventKind
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 WatcherEventKind
impl Debug for WatcherEventKind
Source§impl PartialEq for WatcherEventKind
impl PartialEq for WatcherEventKind
Source§fn eq(&self, other: &WatcherEventKind) -> bool
fn eq(&self, other: &WatcherEventKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for WatcherEventKind
impl Eq for WatcherEventKind
impl StructuralPartialEq for WatcherEventKind
Auto Trait Implementations§
impl Freeze for WatcherEventKind
impl RefUnwindSafe for WatcherEventKind
impl Send for WatcherEventKind
impl Sync for WatcherEventKind
impl Unpin for WatcherEventKind
impl UnsafeUnpin for WatcherEventKind
impl UnwindSafe for WatcherEventKind
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