pub struct SenderReceiverToSignalMapping(/* private fields */);Expand description
A SenderReceiverToSignalMapping contains a mapping between a sender/receiver port and a system signal
Implementations§
Source§impl SenderReceiverToSignalMapping
impl SenderReceiverToSignalMapping
Sourcepub fn system_signal(&self) -> Option<SystemSignal>
pub fn system_signal(&self) -> Option<SystemSignal>
Get the system signal that is the target of this mapping
Sourcepub fn data_element(&self) -> Option<VariableDataPrototype>
pub fn data_element(&self) -> Option<VariableDataPrototype>
Get the data element that is mapped to the signal
Trait Implementations§
Source§impl Clone for SenderReceiverToSignalMapping
impl Clone for SenderReceiverToSignalMapping
Source§fn clone(&self) -> SenderReceiverToSignalMapping
fn clone(&self) -> SenderReceiverToSignalMapping
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 From<SenderReceiverToSignalMapping> for Element
impl From<SenderReceiverToSignalMapping> for Element
Source§fn from(val: SenderReceiverToSignalMapping) -> Self
fn from(val: SenderReceiverToSignalMapping) -> Self
Converts to this type from the input type.
Source§impl Hash for SenderReceiverToSignalMapping
impl Hash for SenderReceiverToSignalMapping
Source§impl PartialEq for SenderReceiverToSignalMapping
impl PartialEq for SenderReceiverToSignalMapping
Source§fn eq(&self, other: &SenderReceiverToSignalMapping) -> bool
fn eq(&self, other: &SenderReceiverToSignalMapping) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for SenderReceiverToSignalMapping
impl StructuralPartialEq for SenderReceiverToSignalMapping
Auto Trait Implementations§
impl Freeze for SenderReceiverToSignalMapping
impl !RefUnwindSafe for SenderReceiverToSignalMapping
impl Send for SenderReceiverToSignalMapping
impl Sync for SenderReceiverToSignalMapping
impl Unpin for SenderReceiverToSignalMapping
impl !UnwindSafe for SenderReceiverToSignalMapping
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.