pub struct SystemSignalGroup(/* private fields */);
Expand description
A signal group refers to a set of signals that shall always be kept together. A signal group is used to guarantee the atomic transfer of AUTOSAR composite data types.
Use ArPackage::create_system_signal_group
to create a new system signal group
Implementations§
Source§impl SystemSignalGroup
impl SystemSignalGroup
Sourcepub fn add_signal(
&self,
signal: &SystemSignal,
) -> Result<(), AutosarAbstractionError>
pub fn add_signal( &self, signal: &SystemSignal, ) -> Result<(), AutosarAbstractionError>
Add a signal to the signal group
Sourcepub fn signals(&self) -> impl Iterator<Item = SystemSignal> + Send + 'static
pub fn signals(&self) -> impl Iterator<Item = SystemSignal> + Send + 'static
Iterator over all SystemSignal
s in this group
Trait Implementations§
Source§impl Clone for SystemSignalGroup
impl Clone for SystemSignalGroup
Source§fn clone(&self) -> SystemSignalGroup
fn clone(&self) -> SystemSignalGroup
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 SystemSignalGroup
impl Debug for SystemSignalGroup
Source§impl From<SystemSignalGroup> for Element
impl From<SystemSignalGroup> for Element
Source§fn from(val: SystemSignalGroup) -> Self
fn from(val: SystemSignalGroup) -> Self
Converts to this type from the input type.
Source§impl Hash for SystemSignalGroup
impl Hash for SystemSignalGroup
Source§impl PartialEq for SystemSignalGroup
impl PartialEq for SystemSignalGroup
Source§impl TryFrom<Element> for SystemSignalGroup
impl TryFrom<Element> for SystemSignalGroup
impl Eq for SystemSignalGroup
impl StructuralPartialEq for SystemSignalGroup
Auto Trait Implementations§
impl Freeze for SystemSignalGroup
impl !RefUnwindSafe for SystemSignalGroup
impl Send for SystemSignalGroup
impl Sync for SystemSignalGroup
impl Unpin for SystemSignalGroup
impl !UnwindSafe for SystemSignalGroup
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.