Skip to content

Field documentation #4

Description

@nbigaouette-eai

It'd be interesting to be able to add (structs' and fields') fields documentation.

For example:

letmut scope = Scope::new();
scope.new_struct("Foo").field("bar","i64","This is a `bar`");

could generate:

structFoo{/// This is a `bar`bar:i64,}

Or maybe a Field type would be useful which could be push_field()ed to a Struct, similarly to Scope::push_struct()?

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