pub enum EcucContainerDef {
Choice(EcucChoiceContainerDef),
ParamConf(EcucParamConfContainerDef),
}
Expand description
EcucContainerDef
is an enum of both container definitions, which is used as a return type by iterators
Variants§
Choice(EcucChoiceContainerDef)
the container is a choice container
ParamConf(EcucParamConfContainerDef)
the container is a parameter container
Trait Implementations§
Source§impl Clone for EcucContainerDef
impl Clone for EcucContainerDef
Source§fn clone(&self) -> EcucContainerDef
fn clone(&self) -> EcucContainerDef
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 EcucContainerDef
impl Debug for EcucContainerDef
Source§impl EcucDefinitionElement for EcucContainerDef
impl EcucDefinitionElement for EcucContainerDef
Source§fn set_lower_multiplicity(
&self,
lower_multiplicity: Option<u32>,
) -> Result<(), AutosarAbstractionError>
fn set_lower_multiplicity( &self, lower_multiplicity: Option<u32>, ) -> Result<(), AutosarAbstractionError>
set or remove the lower multiplicity attribute
Source§fn lower_multiplicity(&self) -> Option<u32>
fn lower_multiplicity(&self) -> Option<u32>
get the lower multiplicity attribute
Source§fn set_upper_multiplicity(
&self,
upper_multiplicity: Option<u32>,
) -> Result<(), AutosarAbstractionError>
fn set_upper_multiplicity( &self, upper_multiplicity: Option<u32>, ) -> Result<(), AutosarAbstractionError>
set or remove the upper multiplicity attribute
Source§fn upper_multiplicity(&self) -> Option<u32>
fn upper_multiplicity(&self) -> Option<u32>
get the upper multiplicity attribute
Source§fn set_upper_multiplicity_infinite(
&self,
infinite: Option<bool>,
) -> Result<(), AutosarAbstractionError>
fn set_upper_multiplicity_infinite( &self, infinite: Option<bool>, ) -> Result<(), AutosarAbstractionError>
set or remove the upper multiplicity infinite attribute Read more
Source§fn upper_multiplicity_infinite(&self) -> Option<bool>
fn upper_multiplicity_infinite(&self) -> Option<bool>
get the upper multiplicity infinite attribute
Source§impl Hash for EcucContainerDef
impl Hash for EcucContainerDef
Source§impl PartialEq for EcucContainerDef
impl PartialEq for EcucContainerDef
Source§impl TryFrom<Element> for EcucContainerDef
impl TryFrom<Element> for EcucContainerDef
impl AbstractEcucContainerDef for EcucContainerDef
impl Eq for EcucContainerDef
impl StructuralPartialEq for EcucContainerDef
Auto Trait Implementations§
impl Freeze for EcucContainerDef
impl !RefUnwindSafe for EcucContainerDef
impl Send for EcucContainerDef
impl Sync for EcucContainerDef
impl Unpin for EcucContainerDef
impl !UnwindSafe for EcucContainerDef
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.