Skip to content

Options to use std::any::type_name for Debug #96

Open
@daxpedda

Description

@daxpedda

I just stumbled onto the fact that often it is useful to use std::any::type_name instead of just skipping fields when implementing Debug.

Maybe something like:

#[derive_where(Debug)]
struct Test<T> {
    a: u8,
    #[derive_where(debug_type_name)]
    b: T,
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions