pub struct EcucValueCollection(/* private fields */);
Expand description
EcucValueCollection
collects references to all the separate modules that form the ECU configuration
Implementations§
Source§impl EcucValueCollection
impl EcucValueCollection
Sourcepub fn add_module_configuration(
&self,
module_configuration: &EcucModuleConfigurationValues,
) -> Result<(), AutosarAbstractionError>
pub fn add_module_configuration( &self, module_configuration: &EcucModuleConfigurationValues, ) -> Result<(), AutosarAbstractionError>
Add a reference to a module configuration to the collection
Sourcepub fn module_configurations(
&self,
) -> impl Iterator<Item = EcucModuleConfigurationValues> + Send + 'static
pub fn module_configurations( &self, ) -> impl Iterator<Item = EcucModuleConfigurationValues> + Send + 'static
Get the module configurations in the collection
Sourcepub fn set_ecu_extract_reference(
&self,
system: &System,
) -> Result<(), AutosarAbstractionError>
pub fn set_ecu_extract_reference( &self, system: &System, ) -> Result<(), AutosarAbstractionError>
Set the ecu extract reference, which links a System
to the ECU configuration
Sourcepub fn ecu_extract_reference(&self) -> Option<System>
pub fn ecu_extract_reference(&self) -> Option<System>
Get the system that the ECU configuration is linked to
Trait Implementations§
Source§impl Clone for EcucValueCollection
impl Clone for EcucValueCollection
Source§fn clone(&self) -> EcucValueCollection
fn clone(&self) -> EcucValueCollection
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 EcucValueCollection
impl Debug for EcucValueCollection
Source§impl From<EcucValueCollection> for Element
impl From<EcucValueCollection> for Element
Source§fn from(val: EcucValueCollection) -> Self
fn from(val: EcucValueCollection) -> Self
Converts to this type from the input type.
Source§impl Hash for EcucValueCollection
impl Hash for EcucValueCollection
Source§impl PartialEq for EcucValueCollection
impl PartialEq for EcucValueCollection
Source§impl TryFrom<Element> for EcucValueCollection
impl TryFrom<Element> for EcucValueCollection
impl Eq for EcucValueCollection
impl StructuralPartialEq for EcucValueCollection
Auto Trait Implementations§
impl Freeze for EcucValueCollection
impl !RefUnwindSafe for EcucValueCollection
impl Send for EcucValueCollection
impl Sync for EcucValueCollection
impl Unpin for EcucValueCollection
impl !UnwindSafe for EcucValueCollection
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.