Skip to content

Is there a way to add #[inline] to the generated new and try_new methods? #237

Description

@nastynaz

This is a great project and I use it extensively.

I want to know if there's a way to force the generated structs to have their constructors marked as #[inline] and #[inline(always)]. The use case is workspaces with multiple crates where inlining between crates doesn't automatically happen.

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