pub struct ISignalToIPduMapping(/* private fields */);
Expand description
ISignalToIPduMapping
connects an ISignal
or ISignalGroup
to an ISignalToIPdu
Implementations§
Source§impl ISignalToIPduMapping
impl ISignalToIPduMapping
Sourcepub fn signal(&self) -> Option<ISignal>
pub fn signal(&self) -> Option<ISignal>
Reference to the signal that is mapped to the PDU. Every mapping contains either a signal or a signal group.
Sourcepub fn set_byte_order(
&self,
byte_order: ByteOrder,
) -> Result<(), AutosarAbstractionError>
pub fn set_byte_order( &self, byte_order: ByteOrder, ) -> Result<(), AutosarAbstractionError>
Set the byte order of the data in the mapped signal.
Sourcepub fn byte_order(&self) -> Option<ByteOrder>
pub fn byte_order(&self) -> Option<ByteOrder>
Byte order of the data in the signal.
Sourcepub fn start_position(&self) -> Option<u32>
pub fn start_position(&self) -> Option<u32>
Start position of the signal data within the PDU (bit position). The start position is mandatory if the mapping describes a signal.
Sourcepub fn update_bit(&self) -> Option<u32>
pub fn update_bit(&self) -> Option<u32>
Bit position of the update bit for the mapped signal. Not all signals use an update bit. This is never used for signal groups
Sourcepub fn set_transfer_property(
&self,
transfer_property: TransferProperty,
) -> Result<(), AutosarAbstractionError>
pub fn set_transfer_property( &self, transfer_property: TransferProperty, ) -> Result<(), AutosarAbstractionError>
Set the transfer property of the mapped signal
Sourcepub fn transfer_property(&self) -> Option<TransferProperty>
pub fn transfer_property(&self) -> Option<TransferProperty>
Get the transfer property of the mapped signal
Sourcepub fn signal_group(&self) -> Option<ISignalGroup>
pub fn signal_group(&self) -> Option<ISignalGroup>
Reference to the signal group that is mapped to the PDU. Every mapping contains either a signal or a signal group.
Trait Implementations§
Source§impl Clone for ISignalToIPduMapping
impl Clone for ISignalToIPduMapping
Source§fn clone(&self) -> ISignalToIPduMapping
fn clone(&self) -> ISignalToIPduMapping
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 ISignalToIPduMapping
impl Debug for ISignalToIPduMapping
Source§impl From<ISignalToIPduMapping> for Element
impl From<ISignalToIPduMapping> for Element
Source§fn from(val: ISignalToIPduMapping) -> Self
fn from(val: ISignalToIPduMapping) -> Self
Converts to this type from the input type.
Source§impl Hash for ISignalToIPduMapping
impl Hash for ISignalToIPduMapping
Source§impl PartialEq for ISignalToIPduMapping
impl PartialEq for ISignalToIPduMapping
Source§impl TryFrom<Element> for ISignalToIPduMapping
impl TryFrom<Element> for ISignalToIPduMapping
impl Eq for ISignalToIPduMapping
impl StructuralPartialEq for ISignalToIPduMapping
Auto Trait Implementations§
impl Freeze for ISignalToIPduMapping
impl !RefUnwindSafe for ISignalToIPduMapping
impl Send for ISignalToIPduMapping
impl Sync for ISignalToIPduMapping
impl Unpin for ISignalToIPduMapping
impl !UnwindSafe for ISignalToIPduMapping
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.