pub struct ApplicationArrayElement(/* private fields */);
Expand description
An element in an application array data type
Implementations§
Source§impl ApplicationArrayElement
impl ApplicationArrayElement
Sourcepub fn set_data_type<T: Into<ApplicationDataType> + AbstractionElement>(
&self,
data_type: &T,
) -> Result<(), AutosarAbstractionError>
pub fn set_data_type<T: Into<ApplicationDataType> + AbstractionElement>( &self, data_type: &T, ) -> Result<(), AutosarAbstractionError>
set the data type of the array element
Sourcepub fn data_type(&self) -> Option<ApplicationDataType>
pub fn data_type(&self) -> Option<ApplicationDataType>
get the data type of the array element
Trait Implementations§
Source§impl Clone for ApplicationArrayElement
impl Clone for ApplicationArrayElement
Source§fn clone(&self) -> ApplicationArrayElement
fn clone(&self) -> ApplicationArrayElement
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 ApplicationArrayElement
impl Debug for ApplicationArrayElement
Source§impl From<ApplicationArrayElement> for Element
impl From<ApplicationArrayElement> for Element
Source§fn from(val: ApplicationArrayElement) -> Self
fn from(val: ApplicationArrayElement) -> Self
Converts to this type from the input type.
Source§impl Hash for ApplicationArrayElement
impl Hash for ApplicationArrayElement
Source§impl PartialEq for ApplicationArrayElement
impl PartialEq for ApplicationArrayElement
Source§impl TryFrom<Element> for ApplicationArrayElement
impl TryFrom<Element> for ApplicationArrayElement
impl Eq for ApplicationArrayElement
impl StructuralPartialEq for ApplicationArrayElement
Auto Trait Implementations§
impl Freeze for ApplicationArrayElement
impl !RefUnwindSafe for ApplicationArrayElement
impl Send for ApplicationArrayElement
impl Sync for ApplicationArrayElement
impl Unpin for ApplicationArrayElement
impl !UnwindSafe for ApplicationArrayElement
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.