pub enum DomainType {
Finite,
Integer,
Real,
Complex,
Boolean,
Custom(String),
}Expand description
Type category of a domain.
Variants§
Finite
Finite discrete domain (e.g., enum, categorical)
Integer
Integer domain (bounded or unbounded)
Real
Real number domain (continuous)
Complex
Complex number domain
Boolean
Boolean domain {true, false}
Custom(String)
Custom domain type
Trait Implementations§
Source§impl Clone for DomainType
impl Clone for DomainType
Source§fn clone(&self) -> DomainType
fn clone(&self) -> DomainType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DomainType
impl Debug for DomainType
Source§impl<'de> Deserialize<'de> for DomainType
impl<'de> Deserialize<'de> for DomainType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for DomainType
impl PartialEq for DomainType
Source§impl Serialize for DomainType
impl Serialize for DomainType
impl Eq for DomainType
impl StructuralPartialEq for DomainType
Auto Trait Implementations§
impl Freeze for DomainType
impl RefUnwindSafe for DomainType
impl Send for DomainType
impl Sync for DomainType
impl Unpin for DomainType
impl UnwindSafe for DomainType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more