Enum comfy_wgpu::notify::event::ModifyKind
pub enum ModifyKind {
Any,
Data(DataChange),
Metadata(MetadataKind),
Name(RenameMode),
Other,
}Expand description
An event describing mutation of content, name, or metadata.
Variants§
Any
The catch-all case, to be used when the specific kind of event is unknown.
Data(DataChange)
An event emitted when the data content of a file is changed.
Metadata(MetadataKind)
An event emitted when the metadata of a file or folder is changed.
Name(RenameMode)
An event emitted when the name of a file or folder is changed.
Other
An event which specific kind is known but cannot be represented otherwise.
Trait Implementations§
§impl Clone for ModifyKind
impl Clone for ModifyKind
§fn clone(&self) -> ModifyKind
fn clone(&self) -> ModifyKind
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 more§impl Debug for ModifyKind
impl Debug for ModifyKind
§impl Hash for ModifyKind
impl Hash for ModifyKind
§impl PartialEq<ModifyKind> for ModifyKind
impl PartialEq<ModifyKind> for ModifyKind
§fn eq(&self, other: &ModifyKind) -> bool
fn eq(&self, other: &ModifyKind) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for ModifyKind
impl Eq for ModifyKind
impl StructuralEq for ModifyKind
impl StructuralPartialEq for ModifyKind
Auto Trait Implementations§
impl RefUnwindSafe for ModifyKind
impl Send for ModifyKind
impl Sync for ModifyKind
impl Unpin for ModifyKind
impl UnwindSafe for ModifyKind
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.