diff options
Diffstat (limited to 'src/useflag/mod.rs')
| -rw-r--r-- | src/useflag/mod.rs | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/useflag/mod.rs b/src/useflag/mod.rs deleted file mode 100644 index c367b1a..0000000 --- a/src/useflag/mod.rs +++ /dev/null @@ -1,20 +0,0 @@ -use core::fmt; - -use get::Get; - -mod parsers; - -#[derive(Clone, Debug, PartialEq, Eq, Hash, Get)] -pub struct UseFlag(#[get(method = "name", kind = "deref")] String); - -#[derive(Clone, Debug, PartialEq, Eq, Hash, Get)] -pub struct IUseFlag { - default: bool, - flag: UseFlag, -} - -impl fmt::Display for UseFlag { - fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { - write!(f, "{}", self.0) - } -} |
