pub struct ValueInformation<'a> {
pub decimal_scale_exponent: isize,
pub decimal_offset_exponent: isize,
/* private fields */
}Expand description
A borrowed, allocation-free view of decoded VIF and VIFE information.
Labels and units are produced in wire order, including duplicates. The view borrows frame bytes, independently of the block used to construct it.
Fields§
§decimal_scale_exponent: isize§decimal_offset_exponent: isizeImplementations§
Source§impl<'a> ValueInformation<'a>
impl<'a> ValueInformation<'a>
Trait Implementations§
Source§impl<'a> Clone for ValueInformation<'a>
impl<'a> Clone for ValueInformation<'a>
Source§fn clone(&self) -> ValueInformation<'a>
fn clone(&self) -> ValueInformation<'a>
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 ValueInformation<'_>
impl Debug for ValueInformation<'_>
Source§impl PartialEq for ValueInformation<'_>
impl PartialEq for ValueInformation<'_>
Source§impl<'a> TryFrom<&ValueInformationBlock<'a>> for ValueInformation<'a>
impl<'a> TryFrom<&ValueInformationBlock<'a>> for ValueInformation<'a>
Source§type Error = DataInformationError
type Error = DataInformationError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl<'a> Freeze for ValueInformation<'a>
impl<'a> RefUnwindSafe for ValueInformation<'a>
impl<'a> Send for ValueInformation<'a>
impl<'a> Sync for ValueInformation<'a>
impl<'a> Unpin for ValueInformation<'a>
impl<'a> UnsafeUnpin for ValueInformation<'a>
impl<'a> UnwindSafe for ValueInformation<'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