pub fn encode_constant(
values: &[Literal],
depth: usize,
) -> Result<StructArray, ValueError>Expand description
Encode the existing constant/nested layout from neutral values.
ยงErrors
Rejects unsupported literal kinds or insufficient nesting depth.