diff options
Diffstat (limited to 'minecraft-chat/src/base_component.rs')
| -rw-r--r-- | minecraft-chat/src/base_component.rs | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/minecraft-chat/src/base_component.rs b/minecraft-chat/src/base_component.rs deleted file mode 100644 index fa39a11c..00000000 --- a/minecraft-chat/src/base_component.rs +++ /dev/null @@ -1,23 +0,0 @@ -use crate::{component::Component, style::Style}; - -#[derive(Clone, Debug)] -pub struct BaseComponent { - // implements mutablecomponent - pub siblings: Vec<Component>, - pub style: Style, -} - -impl BaseComponent { - pub fn new() -> Self { - Self { - siblings: Vec::new(), - style: Style::default(), - } - } -} - -impl Default for BaseComponent { - fn default() -> Self { - Self::new() - } -} |
