wplot/abs/change.rs
1/// Internal namespace.
2pub( crate ) mod private
3{
4 use crate::protected::*;
5
6 /// Context.
7 #[ clone_dyn ]
8 pub trait ChangeInterface
9 where
10 Self :
11 fmt::Debug +
12 ,
13 {
14
15 /// Add change to queue of events.
16 fn add_to< C : ChangerInterface >( self, changer : &mut C ) -> &mut C
17 where
18 Self : Sized + 'static,
19 {
20 changer.change_add( self )
21 }
22
23 }
24
25 //
26
27}
28
29crate::mod_interface!
30{
31
32 prelude use ChangeInterface;
33
34}