pub struct PropertyChanged<'a, T>(/* private fields */);
Expand description
A property changed event.
The property changed event generated by PropertyIterator
.
Implementations§
Source§impl<T> PropertyChanged<'_, T>
impl<T> PropertyChanged<'_, T>
Sourcepub fn get_raw(&self) -> Result<impl Deref<Target = Value<'static>> + '_>
pub fn get_raw(&self) -> Result<impl Deref<Target = Value<'static>> + '_>
Get the raw value of the property that changed.
If the notification signal contained the new value, it has been cached already and this call will return that value. Otherwise (i.e. invalidated property), a D-Bus call is made to fetch and cache the new value.
Source§impl<T> PropertyChanged<'_, T>
impl<T> PropertyChanged<'_, T>
Auto Trait Implementations§
impl<'a, T> Freeze for PropertyChanged<'a, T>
impl<'a, T> !RefUnwindSafe for PropertyChanged<'a, T>
impl<'a, T> Send for PropertyChanged<'a, T>where
T: Send,
impl<'a, T> Sync for PropertyChanged<'a, T>where
T: Sync,
impl<'a, T> Unpin for PropertyChanged<'a, T>where
T: Unpin,
impl<'a, T> !UnwindSafe for PropertyChanged<'a, T>
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