wplot/sys/drawing/change_new.rs
1/// Internal namespace.
2pub( crate ) mod private
3{
4 use crate::protected::*;
5
6 /// ChangerInterface of brush stroke.
7 #[ allow( dead_code ) ]
8 #[ derive( Debug, Clone ) ]
9 pub struct DrawingChangeNew
10 {
11 id : Id,
12 }
13
14 impl DrawingChangeNew
15 {
16 /// Constructor.
17 pub fn new( id : Id ) -> Self
18 {
19 Self{ id }
20 }
21 }
22
23 impl ChangeInterface for DrawingChangeNew
24 {
25 }
26
27}
28
29crate::mod_interface!
30{
31 exposed use DrawingChangeNew;
32}