pub fn variable_info(variable: VariableMeta<(), ()>) -> FnResult<VariableInfo>
Expand description
Returns information about the hierarchical structure of the signal. For translators which simply want to do bit vector to string and/or color translation, returning [VariableInfo::Bits] is sufficient.
For compound signals, [VariableInfo::Compound] is used, which allows the user to expand the signal into its available subfields. If subfields specified here are omitted by the translate function, they will be left empty during the corresponding clock cycles.