pub struct DataConstr(/* private fields */);
Expand description
DataConstr
represents a data constraint.
Implementations§
Source§impl DataConstr
impl DataConstr
Sourcepub fn create_data_constr_rule(
&self,
rule_type: DataConstrType,
lower_limit: Option<f64>,
upper_limit: Option<f64>,
) -> Result<DataConstrRule, AutosarAbstractionError>
pub fn create_data_constr_rule( &self, rule_type: DataConstrType, lower_limit: Option<f64>, upper_limit: Option<f64>, ) -> Result<DataConstrRule, AutosarAbstractionError>
Create a data constraint rule
Sourcepub fn data_constr_rules(
&self,
) -> impl Iterator<Item = DataConstrRule> + Send + 'static
pub fn data_constr_rules( &self, ) -> impl Iterator<Item = DataConstrRule> + Send + 'static
Get all data constraint rules
Trait Implementations§
Source§impl AbstractionElement for DataConstr
impl AbstractionElement for DataConstr
Source§impl Clone for DataConstr
impl Clone for DataConstr
Source§fn clone(&self) -> DataConstr
fn clone(&self) -> DataConstr
Returns a copy 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 DataConstr
impl Debug for DataConstr
Source§impl From<DataConstr> for Element
impl From<DataConstr> for Element
Source§fn from(val: DataConstr) -> Self
fn from(val: DataConstr) -> Self
Converts to this type from the input type.
Source§impl Hash for DataConstr
impl Hash for DataConstr
Source§impl PartialEq for DataConstr
impl PartialEq for DataConstr
Source§impl TryFrom<Element> for DataConstr
impl TryFrom<Element> for DataConstr
impl Eq for DataConstr
impl StructuralPartialEq for DataConstr
Auto Trait Implementations§
impl Freeze for DataConstr
impl !RefUnwindSafe for DataConstr
impl Send for DataConstr
impl Sync for DataConstr
impl Unpin for DataConstr
impl !UnwindSafe for DataConstr
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.