Skip to main content

default_bits

Function default_bits 

Source
pub fn default_bits(ty: &Type<'_>) -> Option<Vec<Bit>>
Expand description

The value a variable of type ty starts with, LSB first: X for every 4-state integral bit, 0 for every 2-state one (and for a real, string or chandle’s stored bits). An unpacked union starts as its first member’s initial value, padded with 0.