pub struct RPortPrototype(/* private fields */);Expand description
RPortPrototype represents a required port prototype
Implementations§
Source§impl RPortPrototype
impl RPortPrototype
Sourcepub fn port_interface(&self) -> Result<PortInterface, AutosarAbstractionError>
pub fn port_interface(&self) -> Result<PortInterface, AutosarAbstractionError>
Get the port interface of the port prototype
Sourcepub fn component_type(&self) -> Result<SwComponentType, AutosarAbstractionError>
pub fn component_type(&self) -> Result<SwComponentType, AutosarAbstractionError>
Get the component type containing the port prototype
Trait Implementations§
Source§impl AbstractionElement for RPortPrototype
impl AbstractionElement for RPortPrototype
Source§impl Clone for RPortPrototype
impl Clone for RPortPrototype
Source§fn clone(&self) -> RPortPrototype
fn clone(&self) -> RPortPrototype
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 RPortPrototype
impl Debug for RPortPrototype
Source§impl From<RPortPrototype> for Element
impl From<RPortPrototype> for Element
Source§fn from(val: RPortPrototype) -> Self
fn from(val: RPortPrototype) -> Self
Converts to this type from the input type.
Source§impl From<RPortPrototype> for PortPrototype
impl From<RPortPrototype> for PortPrototype
Source§fn from(port: RPortPrototype) -> Self
fn from(port: RPortPrototype) -> Self
Converts to this type from the input type.
Source§impl Hash for RPortPrototype
impl Hash for RPortPrototype
Source§impl PartialEq for RPortPrototype
impl PartialEq for RPortPrototype
Source§impl TryFrom<Element> for RPortPrototype
impl TryFrom<Element> for RPortPrototype
impl Eq for RPortPrototype
impl StructuralPartialEq for RPortPrototype
Auto Trait Implementations§
impl Freeze for RPortPrototype
impl !RefUnwindSafe for RPortPrototype
impl Send for RPortPrototype
impl Sync for RPortPrototype
impl Unpin for RPortPrototype
impl !UnwindSafe for RPortPrototype
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.