pub struct SwcToEcuMapping(/* private fields */);
Expand description
A SwcToEcuMapping
contains a mapping between a SwComponentPrototype
and an EcuInstance
Implementations§
Source§impl SwcToEcuMapping
impl SwcToEcuMapping
Sourcepub fn target_component(&self) -> Option<SwComponentPrototype>
pub fn target_component(&self) -> Option<SwComponentPrototype>
get the component prototype that is mapped here
Sourcepub fn ecu_instance(&self) -> Option<EcuInstance>
pub fn ecu_instance(&self) -> Option<EcuInstance>
get the ECU instance which is the target of this mapping
Trait Implementations§
Source§impl AbstractionElement for SwcToEcuMapping
impl AbstractionElement for SwcToEcuMapping
Source§impl Clone for SwcToEcuMapping
impl Clone for SwcToEcuMapping
Source§fn clone(&self) -> SwcToEcuMapping
fn clone(&self) -> SwcToEcuMapping
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 SwcToEcuMapping
impl Debug for SwcToEcuMapping
Source§impl From<SwcToEcuMapping> for Element
impl From<SwcToEcuMapping> for Element
Source§fn from(val: SwcToEcuMapping) -> Self
fn from(val: SwcToEcuMapping) -> Self
Converts to this type from the input type.
Source§impl Hash for SwcToEcuMapping
impl Hash for SwcToEcuMapping
Source§impl PartialEq for SwcToEcuMapping
impl PartialEq for SwcToEcuMapping
Source§impl TryFrom<Element> for SwcToEcuMapping
impl TryFrom<Element> for SwcToEcuMapping
impl Eq for SwcToEcuMapping
impl StructuralPartialEq for SwcToEcuMapping
Auto Trait Implementations§
impl Freeze for SwcToEcuMapping
impl !RefUnwindSafe for SwcToEcuMapping
impl Send for SwcToEcuMapping
impl Sync for SwcToEcuMapping
impl Unpin for SwcToEcuMapping
impl !UnwindSafe for SwcToEcuMapping
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.