pub struct ComplexDeviceDriverSwComponentType(/* private fields */);
Expand description
A ComplexDeviceDriverSwComponentType
is a software component that provides complex device driver functionality
Use ArPackage::create_complex_device_driver_sw_component_type
to create a new complex device driver sw component type.
Trait Implementations§
Source§impl AbstractSwComponentType for ComplexDeviceDriverSwComponentType
impl AbstractSwComponentType for ComplexDeviceDriverSwComponentType
Source§fn instances(&self) -> Vec<ComponentPrototype>
fn instances(&self) -> Vec<ComponentPrototype>
iterator over the instances of the component type
Source§fn parent_compositions(&self) -> Vec<CompositionSwComponentType>
fn parent_compositions(&self) -> Vec<CompositionSwComponentType>
list all compositions containing instances of the component type
Source§fn create_r_port<T: AbstractPortInterface>(
&self,
name: &str,
port_interface: &T,
) -> Result<RPortPrototype, AutosarAbstractionError>
fn create_r_port<T: AbstractPortInterface>( &self, name: &str, port_interface: &T, ) -> Result<RPortPrototype, AutosarAbstractionError>
create a new required port with the given name and port interface
Source§fn create_p_port<T: AbstractPortInterface>(
&self,
name: &str,
port_interface: &T,
) -> Result<PPortPrototype, AutosarAbstractionError>
fn create_p_port<T: AbstractPortInterface>( &self, name: &str, port_interface: &T, ) -> Result<PPortPrototype, AutosarAbstractionError>
create a new provided port with the given name and port interface
Source§fn create_pr_port<T: AbstractPortInterface>(
&self,
name: &str,
port_interface: &T,
) -> Result<PRPortPrototype, AutosarAbstractionError>
fn create_pr_port<T: AbstractPortInterface>( &self, name: &str, port_interface: &T, ) -> Result<PRPortPrototype, AutosarAbstractionError>
create a new provided required port with the given name and port interface
Source§fn ports(&self) -> impl Iterator<Item = PortPrototype> + Send + 'static
fn ports(&self) -> impl Iterator<Item = PortPrototype> + Send + 'static
get an iterator over the ports of the component
Source§fn create_port_group(
&self,
name: &str,
) -> Result<PortGroup, AutosarAbstractionError>
fn create_port_group( &self, name: &str, ) -> Result<PortGroup, AutosarAbstractionError>
create a new port group
Source§impl AtomicSwComponentType for ComplexDeviceDriverSwComponentType
impl AtomicSwComponentType for ComplexDeviceDriverSwComponentType
Source§fn create_swc_internal_behavior(
&self,
name: &str,
) -> Result<SwcInternalBehavior, AutosarAbstractionError>
fn create_swc_internal_behavior( &self, name: &str, ) -> Result<SwcInternalBehavior, AutosarAbstractionError>
create an
SwcInternalBehavior
for the component Read moreSource§fn swc_internal_behaviors(
&self,
) -> impl Iterator<Item = SwcInternalBehavior> + Send + 'static
fn swc_internal_behaviors( &self, ) -> impl Iterator<Item = SwcInternalBehavior> + Send + 'static
iterate over all swc internal behaviors - typically zero or one
Source§impl Clone for ComplexDeviceDriverSwComponentType
impl Clone for ComplexDeviceDriverSwComponentType
Source§fn clone(&self) -> ComplexDeviceDriverSwComponentType
fn clone(&self) -> ComplexDeviceDriverSwComponentType
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 From<ComplexDeviceDriverSwComponentType> for Element
impl From<ComplexDeviceDriverSwComponentType> for Element
Source§fn from(val: ComplexDeviceDriverSwComponentType) -> Self
fn from(val: ComplexDeviceDriverSwComponentType) -> Self
Converts to this type from the input type.
Source§impl From<ComplexDeviceDriverSwComponentType> for SwComponentType
impl From<ComplexDeviceDriverSwComponentType> for SwComponentType
Source§fn from(cdd: ComplexDeviceDriverSwComponentType) -> Self
fn from(cdd: ComplexDeviceDriverSwComponentType) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ComplexDeviceDriverSwComponentType
impl PartialEq for ComplexDeviceDriverSwComponentType
Source§fn eq(&self, other: &ComplexDeviceDriverSwComponentType) -> bool
fn eq(&self, other: &ComplexDeviceDriverSwComponentType) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Eq for ComplexDeviceDriverSwComponentType
impl StructuralPartialEq for ComplexDeviceDriverSwComponentType
Auto Trait Implementations§
impl Freeze for ComplexDeviceDriverSwComponentType
impl !RefUnwindSafe for ComplexDeviceDriverSwComponentType
impl Send for ComplexDeviceDriverSwComponentType
impl Sync for ComplexDeviceDriverSwComponentType
impl Unpin for ComplexDeviceDriverSwComponentType
impl !UnwindSafe for ComplexDeviceDriverSwComponentType
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.