pub struct PointDesc<'a> {Show 16 fields
pub id: &'a str,
pub space: AddressSpace,
pub offset: u16,
pub model_relative_offset: u16,
pub length_words: u8,
pub storage: StorageType,
pub value: ValueKind<'a>,
pub byte_big: bool,
pub word_big: bool,
pub scale: Option<Rational>,
pub offset_add: Option<Rational>,
pub scale_ref: Option<ScaleRefDesc<'a>>,
pub selector: Option<SelectorDesc<'a>>,
pub na: &'a [NaDesc<'a>],
pub access: Access,
pub write: Option<WriteDesc<'a>>,
}Expand description
The codec core’s complete view of one point.
Fields§
§id: &'a str§space: AddressSpace§offset: u16§model_relative_offset: u16§7.3 SunSpec model-relative offset (ID register = 0). Used when the owning block declares discovery.
length_words: u8§storage: StorageType§value: ValueKind<'a>§byte_big: boolByte order within a word: big-endian unless false (§9.1).
word_big: boolWord order across words: big-endian unless false (§9.2).
scale: Option<Rational>§offset_add: Option<Rational>§scale_ref: Option<ScaleRefDesc<'a>>§selector: Option<SelectorDesc<'a>>§na: &'a [NaDesc<'a>]§access: Access§write: Option<WriteDesc<'a>>Implementations§
Trait Implementations§
impl<'a> Copy for PointDesc<'a>
Auto Trait Implementations§
impl<'a> Freeze for PointDesc<'a>
impl<'a> RefUnwindSafe for PointDesc<'a>
impl<'a> Send for PointDesc<'a>
impl<'a> Sync for PointDesc<'a>
impl<'a> Unpin for PointDesc<'a>
impl<'a> UnsafeUnpin for PointDesc<'a>
impl<'a> UnwindSafe for PointDesc<'a>
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