pub struct ApplicationArrayDataType(/* private fields */);Expand description
An application array data type
Use ArPackage::create_application_array_data_type to create a new application array data type.
Implementations§
Source§impl ApplicationArrayDataType
impl ApplicationArrayDataType
Sourcepub fn set_array_element<T: Into<ApplicationDataType> + AbstractionElement>(
&self,
element_type: &T,
) -> Result<ApplicationArrayElement, AutosarAbstractionError>
pub fn set_array_element<T: Into<ApplicationDataType> + AbstractionElement>( &self, element_type: &T, ) -> Result<ApplicationArrayElement, AutosarAbstractionError>
set the array element type of the array data type
Sourcepub fn array_element(&self) -> Option<ApplicationArrayElement>
pub fn array_element(&self) -> Option<ApplicationArrayElement>
get the array element of the array data type
Sourcepub fn max_number_of_elements(&self) -> Option<u64>
pub fn max_number_of_elements(&self) -> Option<u64>
get the max number of elements of the array data type
Trait Implementations§
Source§impl Clone for ApplicationArrayDataType
impl Clone for ApplicationArrayDataType
Source§fn clone(&self) -> ApplicationArrayDataType
fn clone(&self) -> ApplicationArrayDataType
Returns a copy 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 ApplicationArrayDataType
impl Debug for ApplicationArrayDataType
Source§impl From<ApplicationArrayDataType> for ApplicationDataType
impl From<ApplicationArrayDataType> for ApplicationDataType
Source§fn from(val: ApplicationArrayDataType) -> Self
fn from(val: ApplicationArrayDataType) -> Self
Converts to this type from the input type.
Source§impl From<ApplicationArrayDataType> for Element
impl From<ApplicationArrayDataType> for Element
Source§fn from(val: ApplicationArrayDataType) -> Self
fn from(val: ApplicationArrayDataType) -> Self
Converts to this type from the input type.
Source§impl Hash for ApplicationArrayDataType
impl Hash for ApplicationArrayDataType
Source§impl PartialEq for ApplicationArrayDataType
impl PartialEq for ApplicationArrayDataType
Source§impl TryFrom<Element> for ApplicationArrayDataType
impl TryFrom<Element> for ApplicationArrayDataType
impl AbstractAutosarDataType for ApplicationArrayDataType
impl Eq for ApplicationArrayDataType
impl StructuralPartialEq for ApplicationArrayDataType
Auto Trait Implementations§
impl Freeze for ApplicationArrayDataType
impl !RefUnwindSafe for ApplicationArrayDataType
impl Send for ApplicationArrayDataType
impl Sync for ApplicationArrayDataType
impl Unpin for ApplicationArrayDataType
impl !UnwindSafe for ApplicationArrayDataType
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.