Trait opendp::core::Domain [−][src]
pub trait Domain: Clone + PartialEq {
type Carrier;
fn member(&self, val: &Self::Carrier) -> Fallible<bool>;
}
Expand description
A set which constrains the input or output of a Function
.
Domains capture the notion of what values are allowed to be the input or output of a Function
.