We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7d9b526 commit 0ae9d70Copy full SHA for 0ae9d70
crates/conjure_core/src/ast/domains.rs
@@ -17,16 +17,6 @@ pub enum Domain {
17
}
18
19
impl Domain {
20
- /// Returns the minimum value in the domain if it is an IntDomain.
21
- pub fn get_min_i32(&self) -> Option<i32> {
22
- self.values_i32()?.iter().min().copied()
23
- }
24
-
25
- /// Returns the maximum value in the domain if it is an IntDomain.
26
- pub fn get_max_i32(&self) -> Option<i32> {
27
- self.values_i32()?.iter().max().copied()
28
29
30
/// Return a list of all possible i32 values in the domain if it is an IntDomain.
31
pub fn values_i32(&self) -> Option<Vec<i32>> {
32
match self {
0 commit comments