Skip to content

Follow Rust naming conventions for types #325

Description

@allan2

This is an issue to suggest that types follow Rust naming conventions.

Structs, enums, and traits follow CamelCase.
Constants follow SCREAMING_SNAKE_CASE.

This affects a lot of types prefixed with Detail_.

Examples:
Detail_WaveCorrectKind -> DetailWaveCorrectKind
Stitcher_Mode -> StitcherMode
Detail_Blender_Feather -> DETAIL_BLENDER_FEATHER

This also affect enum variants.

A balance will have to be struct (: when dealing with things like the SphericalWarperTraitConst trait.

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