Struct raii_change_tracker::Modifier
[−]
[src]
pub struct Modifier<'a, T> where
T: 'a + Clone + PartialEq, { /* fields omitted */ }
Allow viewing and modifying data owned by DataTracker
.
Implemented as an RAII structure that will notify listeners on drop.
Create an instance of this by calling
DataTracker::as_tracked_mut()
.
Trait Implementations
impl<'a, T> Deref for Modifier<'a, T> where
T: 'a + Clone + PartialEq,
[src]
T: 'a + Clone + PartialEq,
type Target = T
The resulting type after dereferencing.
fn deref(&self) -> &T
[src]
Dereferences the value.
impl<'a, T> DerefMut for Modifier<'a, T> where
T: 'a + Clone + PartialEq,
[src]
T: 'a + Clone + PartialEq,
impl<'a, T> Drop for Modifier<'a, T> where
T: 'a + Clone + PartialEq,
[src]
T: 'a + Clone + PartialEq,