pub struct DefaultPropertyChangeEvent<K: ?Sized + KeyConstraint, V: ?Sized + ValueConstraint> { /* private fields */ }Implementations§
Source§impl<K: ?Sized + KeyConstraint, V: ?Sized + ValueConstraint> DefaultPropertyChangeEvent<K, V>
impl<K: ?Sized + KeyConstraint, V: ?Sized + ValueConstraint> DefaultPropertyChangeEvent<K, V>
pub fn from_raw(event: &dyn RawPropertyChangeEvent) -> Self
Trait Implementations§
Source§impl<K: Clone + ?Sized + KeyConstraint, V: Clone + ?Sized + ValueConstraint> Clone for DefaultPropertyChangeEvent<K, V>
impl<K: Clone + ?Sized + KeyConstraint, V: Clone + ?Sized + ValueConstraint> Clone for DefaultPropertyChangeEvent<K, V>
Source§fn clone(&self) -> DefaultPropertyChangeEvent<K, V>
fn clone(&self) -> DefaultPropertyChangeEvent<K, V>
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<K: ?Sized + KeyConstraint, V: ?Sized + ValueConstraint> Debug for DefaultPropertyChangeEvent<K, V>
impl<K: ?Sized + KeyConstraint, V: ?Sized + ValueConstraint> Debug for DefaultPropertyChangeEvent<K, V>
Source§impl<K: ?Sized + KeyConstraint, V: ?Sized + ValueConstraint> PartialEq for DefaultPropertyChangeEvent<K, V>
impl<K: ?Sized + KeyConstraint, V: ?Sized + ValueConstraint> PartialEq for DefaultPropertyChangeEvent<K, V>
Source§impl<K: ?Sized + KeyConstraint, V: ?Sized + ValueConstraint> PropertyChangeEvent<K, V> for DefaultPropertyChangeEvent<K, V>
impl<K: ?Sized + KeyConstraint, V: ?Sized + ValueConstraint> PropertyChangeEvent<K, V> for DefaultPropertyChangeEvent<K, V>
fn get_property(&self) -> &dyn Property<K, V>
fn get_old_value(&self) -> Option<Box<V>>
fn get_new_value(&self) -> Option<Box<V>>
fn clone_boxed(&self) -> Box<dyn PropertyChangeEvent<K, V>>
fn to_boxed(self) -> Box<dyn PropertyChangeEvent<K, V>>
Source§impl<K: ?Sized + KeyConstraint, V: ?Sized + ValueConstraint> RawPropertyChangeEvent for DefaultPropertyChangeEvent<K, V>
impl<K: ?Sized + KeyConstraint, V: ?Sized + ValueConstraint> RawPropertyChangeEvent for DefaultPropertyChangeEvent<K, V>
fn get_raw_property(&self) -> &dyn RawProperty
fn get_raw_old_value(&self) -> Option<Box<dyn Value>>
fn get_raw_new_value(&self) -> Option<Box<dyn Value>>
fn get_change_time(&self) -> u128
fn clone_boxed(&self) -> Box<dyn RawPropertyChangeEvent>
fn to_boxed(self) -> Box<dyn RawPropertyChangeEvent>
fn as_trait_ref(&self) -> &dyn RawPropertyChangeEvent
fn as_trait_mut(&mut self) -> &mut dyn RawPropertyChangeEvent
impl<K: ?Sized + KeyConstraint, V: ?Sized + ValueConstraint> Eq for DefaultPropertyChangeEvent<K, V>
impl<K: ?Sized + KeyConstraint, V: ?Sized + ValueConstraint> Send for DefaultPropertyChangeEvent<K, V>
impl<K: ?Sized + KeyConstraint, V: ?Sized + ValueConstraint> Sync for DefaultPropertyChangeEvent<K, V>
Auto Trait Implementations§
impl<K, V> Freeze for DefaultPropertyChangeEvent<K, V>
impl<K, V> !RefUnwindSafe for DefaultPropertyChangeEvent<K, V>
impl<K, V> Unpin for DefaultPropertyChangeEvent<K, V>
impl<K, V> !UnwindSafe for DefaultPropertyChangeEvent<K, V>
Blanket Implementations§
Source§impl<T> AnyExtension for Twhere
T: ?Sized,
impl<T> AnyExtension for Twhere
T: ?Sized,
Source§impl<T> AsAny for Twhere
T: Any,
impl<T> AsAny for Twhere
T: Any,
fn as_any_ref(&self) -> &(dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
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