protoflow_blocks/blocks/
text.rs

1// This is free and unencumbered software released into the public domain.
2
3pub mod text {
4    use super::{
5        prelude::{Cow, Named},
6        BlockConnections, BlockInstantiation,
7    };
8
9    pub trait TextBlocks {}
10
11    #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
12    #[derive(Clone, Copy, Debug, Eq, Hash, Ord, PartialEq, PartialOrd)]
13    pub enum TextBlockTag {}
14
15    #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
16    #[derive(Clone, Debug)]
17    pub enum TextBlockConfig {}
18
19    impl Named for TextBlockConfig {
20        fn name(&self) -> Cow<str> {
21            unreachable!()
22        }
23    }
24
25    impl BlockConnections for TextBlockConfig {}
26
27    impl BlockInstantiation for TextBlockConfig {}
28}
29
30pub use text::*;