pub struct DataTypeMappingSet(/* private fields */);
Expand description
A DataTypeMappingSet
contains DataTypeMap
s
Use ArPackage::create_data_type_mapping_set
to create a new DataTypeMappingSet
Implementations§
Source§impl DataTypeMappingSet
impl DataTypeMappingSet
Sourcepub fn create_data_type_map<T: Into<ApplicationDataType> + Clone>(
&self,
implementation_data_type: &ImplementationDataType,
application_data_type: &T,
) -> Result<DataTypeMap, AutosarAbstractionError>
pub fn create_data_type_map<T: Into<ApplicationDataType> + Clone>( &self, implementation_data_type: &ImplementationDataType, application_data_type: &T, ) -> Result<DataTypeMap, AutosarAbstractionError>
Create a new DataTypeMap
in the DataTypeMappingSet
Sourcepub fn data_type_maps(
&self,
) -> impl Iterator<Item = DataTypeMap> + Send + 'static
pub fn data_type_maps( &self, ) -> impl Iterator<Item = DataTypeMap> + Send + 'static
Get an iterator over the DataTypeMap
s in the DataTypeMappingSet
Trait Implementations§
Source§impl Clone for DataTypeMappingSet
impl Clone for DataTypeMappingSet
Source§fn clone(&self) -> DataTypeMappingSet
fn clone(&self) -> DataTypeMappingSet
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 DataTypeMappingSet
impl Debug for DataTypeMappingSet
Source§impl From<DataTypeMappingSet> for Element
impl From<DataTypeMappingSet> for Element
Source§fn from(val: DataTypeMappingSet) -> Self
fn from(val: DataTypeMappingSet) -> Self
Converts to this type from the input type.
Source§impl Hash for DataTypeMappingSet
impl Hash for DataTypeMappingSet
Source§impl PartialEq for DataTypeMappingSet
impl PartialEq for DataTypeMappingSet
Source§impl TryFrom<Element> for DataTypeMappingSet
impl TryFrom<Element> for DataTypeMappingSet
impl Eq for DataTypeMappingSet
impl StructuralPartialEq for DataTypeMappingSet
Auto Trait Implementations§
impl Freeze for DataTypeMappingSet
impl !RefUnwindSafe for DataTypeMappingSet
impl Send for DataTypeMappingSet
impl Sync for DataTypeMappingSet
impl Unpin for DataTypeMappingSet
impl !UnwindSafe for DataTypeMappingSet
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.