Skip to main content

pod_choice

Function pod_choice 

Source
fn pod_choice(
    v: &mut Vec<u8>,
    choice: u32,
    child_ty: u32,
    child_size: u32,
    values: &[u8],
)
Expand description

A choice cell over fixed-size values of child_ty: values holds the default first, then the alternatives (Enum), the bounds (Range), or the flag words (Flags), each child_size bytes.