pub struct DataConstrRule(/* private fields */);
Expand description
DataConstrRule
represents a data constraint rule.
Implementations§
Source§impl DataConstrRule
impl DataConstrRule
Sourcepub fn rule_type(&self) -> DataConstrType
pub fn rule_type(&self) -> DataConstrType
get the constraint type
Sourcepub fn lower_limit(&self) -> Option<f64>
pub fn lower_limit(&self) -> Option<f64>
get the lower limit
Sourcepub fn upper_limit(&self) -> Option<f64>
pub fn upper_limit(&self) -> Option<f64>
get the upper limit
Trait Implementations§
Source§impl AbstractionElement for DataConstrRule
impl AbstractionElement for DataConstrRule
Source§impl Clone for DataConstrRule
impl Clone for DataConstrRule
Source§fn clone(&self) -> DataConstrRule
fn clone(&self) -> DataConstrRule
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 DataConstrRule
impl Debug for DataConstrRule
Source§impl From<DataConstrRule> for Element
impl From<DataConstrRule> for Element
Source§fn from(val: DataConstrRule) -> Self
fn from(val: DataConstrRule) -> Self
Converts to this type from the input type.
Source§impl Hash for DataConstrRule
impl Hash for DataConstrRule
Source§impl PartialEq for DataConstrRule
impl PartialEq for DataConstrRule
Source§impl TryFrom<Element> for DataConstrRule
impl TryFrom<Element> for DataConstrRule
impl Eq for DataConstrRule
impl StructuralPartialEq for DataConstrRule
Auto Trait Implementations§
impl Freeze for DataConstrRule
impl !RefUnwindSafe for DataConstrRule
impl Send for DataConstrRule
impl Sync for DataConstrRule
impl Unpin for DataConstrRule
impl !UnwindSafe for DataConstrRule
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.