pub struct ComposedSub {
pub offset: u16,
pub words: u8,
pub bit_offset: u8,
pub bit_length: u8,
pub width_bits: u8,
pub signed: bool,
}Expand description
§14 composed sub-mapping (word offset relative to the read window), optionally carrying a §14.2 bit window — the embedded decade exponent, where mantissa and exponent share a word (Iskra T5/T6, Eaton PXM).
Fields§
§offset: u16§words: u8§bit_offset: u8Bit window over the assembled sub-window (LSB = 0).
bit_length: u8Bit window length; 0 = no bit window (whole sub-window).
width_bits: u8Width in bits when no bit window applies (storage or window width).
signed: boolSign-extend — from bit_length when windowed, else width_bits. True when the sub-mapping declares no storage_type (pre-v0.5 behavior).
Trait Implementations§
Source§impl Clone for ComposedSub
impl Clone for ComposedSub
Source§fn clone(&self) -> ComposedSub
fn clone(&self) -> ComposedSub
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 moreSource§impl Debug for ComposedSub
impl Debug for ComposedSub
Source§impl PartialEq for ComposedSub
impl PartialEq for ComposedSub
Source§fn eq(&self, other: &ComposedSub) -> bool
fn eq(&self, other: &ComposedSub) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ComposedSub
impl Eq for ComposedSub
impl StructuralPartialEq for ComposedSub
Auto Trait Implementations§
impl Freeze for ComposedSub
impl RefUnwindSafe for ComposedSub
impl Send for ComposedSub
impl Sync for ComposedSub
impl Unpin for ComposedSub
impl UnsafeUnpin for ComposedSub
impl UnwindSafe for ComposedSub
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.