mirror of
https://github.com/aramperes/nut-rs.git
synced 2025-09-10 05:44:03 -04:00
parent
2468c5c193
commit
efa5e71443
2 changed files with 57 additions and 2 deletions
|
@ -277,6 +277,10 @@ impl<A: ToString> TryFrom<(A, Vec<&str>)> for VariableDefinition {
|
|||
}
|
||||
}
|
||||
|
||||
/// A range of values for a variable.
|
||||
#[derive(Debug, Clone, Eq, PartialEq)]
|
||||
pub struct VariableRange(pub String, pub String);
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use std::iter::FromIterator;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue