pub struct ArgumentDataPrototype(/* private fields */);
Expand description
An ArgumentDataPrototype
represents an argument in a ClientServerOperation
Implementations§
Source§impl ArgumentDataPrototype
impl ArgumentDataPrototype
Sourcepub fn set_data_type<T: AbstractAutosarDataType>(
&self,
data_type: &T,
) -> Result<(), AutosarAbstractionError>
pub fn set_data_type<T: AbstractAutosarDataType>( &self, data_type: &T, ) -> Result<(), AutosarAbstractionError>
Set the data type of the argument
Sourcepub fn data_type(&self) -> Option<AutosarDataType>
pub fn data_type(&self) -> Option<AutosarDataType>
Get the data type of the argument
Sourcepub fn set_direction(
&self,
direction: ArgumentDirection,
) -> Result<(), AutosarAbstractionError>
pub fn set_direction( &self, direction: ArgumentDirection, ) -> Result<(), AutosarAbstractionError>
Set the direction of the argument
Sourcepub fn direction(&self) -> Option<ArgumentDirection>
pub fn direction(&self) -> Option<ArgumentDirection>
Get the direction of the argument
Trait Implementations§
Source§impl Clone for ArgumentDataPrototype
impl Clone for ArgumentDataPrototype
Source§fn clone(&self) -> ArgumentDataPrototype
fn clone(&self) -> ArgumentDataPrototype
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 ArgumentDataPrototype
impl Debug for ArgumentDataPrototype
Source§impl From<ArgumentDataPrototype> for Element
impl From<ArgumentDataPrototype> for Element
Source§fn from(val: ArgumentDataPrototype) -> Self
fn from(val: ArgumentDataPrototype) -> Self
Converts to this type from the input type.
Source§impl Hash for ArgumentDataPrototype
impl Hash for ArgumentDataPrototype
Source§impl PartialEq for ArgumentDataPrototype
impl PartialEq for ArgumentDataPrototype
Source§impl TryFrom<Element> for ArgumentDataPrototype
impl TryFrom<Element> for ArgumentDataPrototype
impl Eq for ArgumentDataPrototype
impl StructuralPartialEq for ArgumentDataPrototype
Auto Trait Implementations§
impl Freeze for ArgumentDataPrototype
impl !RefUnwindSafe for ArgumentDataPrototype
impl Send for ArgumentDataPrototype
impl Sync for ArgumentDataPrototype
impl Unpin for ArgumentDataPrototype
impl !UnwindSafe for ArgumentDataPrototype
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.