Struct data_tracker::Modifier
[−]
[src]
pub struct Modifier<'a, T, K> where
T: 'a + Clone + PartialEq,
K: 'a + Hash + Eq, { /* fields omitted */ }
Allow viewing and modifying data owned by DataTracker
.
Create an instance of this by calling
DataTracker::as_tracked_mut()
.
Trait Implementations
impl<'a, T, K> Deref for Modifier<'a, T, K> where
T: 'a + Clone + PartialEq,
K: 'a + Hash + Eq,
[src]
T: 'a + Clone + PartialEq,
K: 'a + Hash + Eq,
type Target = T
The resulting type after dereferencing
fn deref(&self) -> &T
The method called to dereference a value
impl<'a, T, K> DerefMut for Modifier<'a, T, K> where
T: 'a + Clone + PartialEq,
K: 'a + Hash + Eq,
[src]
T: 'a + Clone + PartialEq,
K: 'a + Hash + Eq,
fn deref_mut(&mut self) -> &mut T
The method called to mutably dereference a value
impl<'a, T, K> Drop for Modifier<'a, T, K> where
T: 'a + Clone + PartialEq,
K: 'a + Hash + Eq,
[src]
T: 'a + Clone + PartialEq,
K: 'a + Hash + Eq,