Enum comfy_wgpu::notify::event::DataChange
pub enum DataChange {
Any,
Size,
Content,
Other,
}Expand description
An event emitted when the data content of a file is changed.
Variants§
Any
The catch-all case, to be used when the specific kind of event is unknown.
Size
An event emitted when the size of the data is changed.
Content
An event emitted when the content of the data is changed.
Other
An event which specific kind is known but cannot be represented otherwise.
Trait Implementations§
§impl Clone for DataChange
impl Clone for DataChange
§fn clone(&self) -> DataChange
fn clone(&self) -> DataChange
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 DataChange
impl Debug for DataChange
§impl Hash for DataChange
impl Hash for DataChange
§impl PartialEq<DataChange> for DataChange
impl PartialEq<DataChange> for DataChange
§fn eq(&self, other: &DataChange) -> bool
fn eq(&self, other: &DataChange) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for DataChange
impl Eq for DataChange
impl StructuralEq for DataChange
impl StructuralPartialEq for DataChange
Auto Trait Implementations§
impl RefUnwindSafe for DataChange
impl Send for DataChange
impl Sync for DataChange
impl Unpin for DataChange
impl UnwindSafe for DataChange
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.