#[repr(C)]pub struct ValueType {
pub type: Record<StringOffset, 1, OPT_ZERO>,
pub unit: Record<StringOffset, 2, OPT_ZERO>,
}Expand description
ValueType describes the semantics and measurement units of a value.
Fields§
§type: Record<StringOffset, 1, OPT_ZERO>§unit: Record<StringOffset, 2, OPT_ZERO>Trait Implementations§
Source§impl Value for ValueType
§Safety
The Default implementation will return all zero-representations.
impl Value for ValueType
§Safety
The Default implementation will return all zero-representations.
impl Copy for ValueType
impl Eq for ValueType
impl StructuralPartialEq for ValueType
Auto Trait Implementations§
impl Freeze for ValueType
impl RefUnwindSafe for ValueType
impl Send for ValueType
impl Sync for ValueType
impl Unpin for ValueType
impl UnsafeUnpin for ValueType
impl UnwindSafe for ValueType
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