pub struct ValueTable {
pub name: Option<String>,
pub message_id: Option<u32>,
pub signal: String,
pub entries: Vec<(i64, String)>,
}Expand description
A value table: raw value → label mappings from VAL_ (message-scoped)
or VAL_TABLE_ (global, named).
Fields§
§name: Option<String>Table name for VAL_TABLE_ declarations; None for message-scoped
VAL_ entries.
message_id: Option<u32>Message id for VAL_ declarations; None for VAL_TABLE_.
signal: StringSignal name the table annotates (unused for VAL_TABLE_).
entries: Vec<(i64, String)>(raw value, label) pairs, in file order.
Trait Implementations§
Source§impl Clone for ValueTable
impl Clone for ValueTable
Source§impl Debug for ValueTable
impl Debug for ValueTable
impl Eq for ValueTable
Source§impl PartialEq for ValueTable
impl PartialEq for ValueTable
impl StructuralPartialEq for ValueTable
Auto Trait Implementations§
impl Freeze for ValueTable
impl RefUnwindSafe for ValueTable
impl Send for ValueTable
impl Sync for ValueTable
impl Unpin for ValueTable
impl UnsafeUnpin for ValueTable
impl UnwindSafe for ValueTable
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