Skip to content

missing [struct {}; N] implementation #13

@omelia-iliffe

Description

@omelia-iliffe

Cool crate!
I've discovered that declaring structs/enums inside an array isn't possible.

pub struct Config {
    input_uid: [struct { name: String}; 3],
    output_uid: Vec<struct {name: String}>,
}

output_uid works fine but the input uid doesn't.
Has this just been missed or is implementing this challenging?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions