1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
use crate::;
/// A component of a `Storyboard`
///
/// Storyboards, in `osb`, are split into different components called `Module`s. This allows the
/// storyboarder to have the good practice of splitting a `Storyboard` into different parts
/// efficiently.
///
/// In terms of scalabitily, this allows anyone to create, share and import `Module`s of any
/// kind. Everyone can publish their own `Module` to crates.io and anyone can use them.
///
/// This forces the storyboarder to initialize and push `Module`s properly onto their
/// `Storyboard`s. It is recommended to create a function for each new `Module` or create a file
/// of its own depending on the complexity of your module.
///
/// A `Module` is tied to a [`Layer`] and cannot be changed.