diff options
| author | pablu <me@pablu.de> | 2026-05-06 17:04:31 +0200 |
|---|---|---|
| committer | pablu <me@pablu.de> | 2026-05-06 17:04:31 +0200 |
| commit | 3346222550bc18edc457d9b509f00d0eba9d0f4f (patch) | |
| tree | 5769f6b3aa3c70082e5229ad9d2ed77ca97e7a0a /src/gentoo/useflags.rs | |
initial working
Diffstat (limited to 'src/gentoo/useflags.rs')
| -rw-r--r-- | src/gentoo/useflags.rs | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/gentoo/useflags.rs b/src/gentoo/useflags.rs new file mode 100644 index 0000000..0b7d981 --- /dev/null +++ b/src/gentoo/useflags.rs @@ -0,0 +1,16 @@ +#[derive(Debug, Clone)] +pub struct UseFlag { + pub name: String, + pub enabled: bool, + pub default: bool, +} + +impl UseFlag { + pub fn new(name: String, enabled: bool, default: bool) -> Self { + UseFlag { + name, + enabled, + default, + } + } +} |
