pub struct ApplicationSwComponentType(/* private fields */);
Expand description
An ApplicationSwComponentType
is a software component that provides application functionality
Use ArPackage::create_application_sw_component_type
to create a new application sw component type.
Trait Implementations§
Source§impl AbstractSwComponentType for ApplicationSwComponentType
impl AbstractSwComponentType for ApplicationSwComponentType
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 ApplicationSwComponentType
impl AtomicSwComponentType for ApplicationSwComponentType
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 ApplicationSwComponentType
impl Clone for ApplicationSwComponentType
Source§fn clone(&self) -> ApplicationSwComponentType
fn clone(&self) -> ApplicationSwComponentType
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 ApplicationSwComponentType
impl Debug for ApplicationSwComponentType
Source§impl From<ApplicationSwComponentType> for Element
impl From<ApplicationSwComponentType> for Element
Source§fn from(val: ApplicationSwComponentType) -> Self
fn from(val: ApplicationSwComponentType) -> Self
Converts to this type from the input type.
Source§impl From<ApplicationSwComponentType> for SwComponentType
impl From<ApplicationSwComponentType> for SwComponentType
Source§fn from(app: ApplicationSwComponentType) -> Self
fn from(app: ApplicationSwComponentType) -> Self
Converts to this type from the input type.
Source§impl Hash for ApplicationSwComponentType
impl Hash for ApplicationSwComponentType
Source§impl TryFrom<Element> for ApplicationSwComponentType
impl TryFrom<Element> for ApplicationSwComponentType
impl Eq for ApplicationSwComponentType
impl StructuralPartialEq for ApplicationSwComponentType
Auto Trait Implementations§
impl Freeze for ApplicationSwComponentType
impl !RefUnwindSafe for ApplicationSwComponentType
impl Send for ApplicationSwComponentType
impl Sync for ApplicationSwComponentType
impl Unpin for ApplicationSwComponentType
impl !UnwindSafe for ApplicationSwComponentType
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.