pub struct ParameterValue<'db, 'p> {
pub parameter: ParamId,
pub raw: RawValue<'p>,
pub eng: EngValue<'db, 'p>,
pub bit_offset: usize,
pub bit_width: usize,
}Expand description
One decoded parameter: which parameter, and both of its values.
Fields§
§parameter: ParamIdThe parameter this value belongs to.
raw: RawValue<'p>The bits as they appeared in the packet.
eng: EngValue<'db, 'p>The value after calibration or lookup.
bit_offset: usizeBit offset of the field within the packet.
bit_width: usizeWidth of the field, in bits.
Trait Implementations§
Source§impl<'db, 'p> Clone for ParameterValue<'db, 'p>
impl<'db, 'p> Clone for ParameterValue<'db, 'p>
Auto Trait Implementations§
impl<'db, 'p> Forget for ParameterValue<'db, 'p>
impl<'db, 'p> Freeze for ParameterValue<'db, 'p>
impl<'db, 'p> Move for ParameterValue<'db, 'p>
impl<'db, 'p> RefUnwindSafe for ParameterValue<'db, 'p>
impl<'db, 'p> Send for ParameterValue<'db, 'p>
impl<'db, 'p> Sync for ParameterValue<'db, 'p>
impl<'db, 'p> Unpin for ParameterValue<'db, 'p>
impl<'db, 'p> UnsafeUnpin for ParameterValue<'db, 'p>
impl<'db, 'p> UnwindSafe for ParameterValue<'db, 'p>
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