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 array_element(&self) -> Option<ApplicationArrayElement>
pub fn array_element(&self) -> Option<ApplicationArrayElement>
get the array element of the array data type
Sourcepub fn set_size(
&self,
size: ApplicationArraySize,
) -> Result<(), AutosarAbstractionError>
pub fn set_size( &self, size: ApplicationArraySize, ) -> Result<(), AutosarAbstractionError>
set the size of the array
Sourcepub fn size(&self) -> Option<ApplicationArraySize>
pub fn size(&self) -> Option<ApplicationArraySize>
get the size of the array
Trait Implementations§
Source§impl Clone for ApplicationArrayDataType
impl Clone for ApplicationArrayDataType
Source§fn clone(&self) -> ApplicationArrayDataType
fn clone(&self) -> ApplicationArrayDataType
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 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.