pub struct MappingEntry {
pub address: Address,
pub bit_length: u8,
}Expand description
One entry of a PDO mapping: the object it references and its width in bits.
On the wire (and in the mapping-parameter record) this is a u32
0xIIII_SSLL — index IIII, subindex SS, bit length LL.
Fields§
§address: AddressThe mapped object’s address.
bit_length: u8The number of bits contributed to the PDO frame.
Implementations§
Source§impl MappingEntry
impl MappingEntry
Trait Implementations§
Source§impl Clone for MappingEntry
impl Clone for MappingEntry
Source§fn clone(&self) -> MappingEntry
fn clone(&self) -> MappingEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MappingEntry
Source§impl Debug for MappingEntry
impl Debug for MappingEntry
impl Eq for MappingEntry
Source§impl PartialEq for MappingEntry
impl PartialEq for MappingEntry
impl StructuralPartialEq for MappingEntry
Auto Trait Implementations§
impl Freeze for MappingEntry
impl RefUnwindSafe for MappingEntry
impl Send for MappingEntry
impl Sync for MappingEntry
impl Unpin for MappingEntry
impl UnsafeUnpin for MappingEntry
impl UnwindSafe for MappingEntry
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