[][src]Trait track::Trackable

pub trait Trackable<C, S> where
    C: TrackableMarker,
    S: SerializationStrategy
{ fn track<'notifier, I: Identifier>(
        &mut self,
        sender: &'notifier Sender<ModificationEvent<I>>,
        identifier: I
    ) -> Tracker<'_, 'notifier, C, S, I>; }

A trait with functions for tracking struct value modifications.

Do not implement this trait manually but use the track attribute for less boiler plate code.

Required methods

fn track<'notifier, I: Identifier>(
    &mut self,
    sender: &'notifier Sender<ModificationEvent<I>>,
    identifier: I
) -> Tracker<'_, 'notifier, C, S, I>

Loading content...

Implementors

Loading content...