Function write_array

Source
pub fn write_array<T: Debug, W: Write>(
    w: &mut W,
    name: &str,
    ty: &str,
    values: &[T],
) -> String
Expand description

Write an array and return the array’s full type representation.

This can be used to create nested array constant types.