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
//===================================================================================================================================================================================//
//
// /$$$$$$$ /$$ /$$ /$$
// | $$__ $$ |__/ | $$ | $$
// | $$ \ $$ /$$$$$$ /$$$$$$ /$$ /$$$$$$$ /$$$$$$ /$$$$$$ /$$$$$$ /$$$$$$ /$$$$$$$
// | $$$$$$$/ /$$__ $$ /$$__ $$| $$ /$$_____/|_ $$_/ /$$__ $$ /$$__ $$ /$$__ $$ /$$__ $$
// | $$__ $$| $$$$$$$$| $$ \ $$| $$| $$$$$$ | $$ | $$$$$$$$| $$ \__/| $$$$$$$$| $$ | $$
// | $$ \ $$| $$_____/| $$ | $$| $$ \____ $$ | $$ /$$| $$_____/| $$ | $$_____/| $$ | $$
// | $$ | $$| $$$$$$$| $$$$$$$| $$ /$$$$$$$/ | $$$$/| $$$$$$$| $$ | $$$$$$$| $$$$$$$
// |__/ |__/ \_______/ \____ $$|__/|_______/ \___/ \_______/|__/ \_______/ \_______/
// /$$ \ $$
// | $$$$$$/
// \______/
//
//===================================================================================================================================================================================//
//?
//? Created by LunaticWyrm467 and others.
//?
//? All code is licensed under the MIT license.
//? Feel free to reproduce, modify, and do whatever.
//?
//!
//! This provides the internal `Registered` trait which must be implemented by every `Node`, and
//! can be derived through the `Register` derive macro!
//!
use crate;
/// A trait which allows for the saving and loading of Nodes from owned data.
/// This trait is implemented for you via the `Registered` derive macro, which is automatically
/// set via the `class!` macro.