Skip to content

Instantly share code, notes, and snippets.

@freedomtowin
Created June 28, 2025 21:17
Show Gist options
  • Select an option

  • Save freedomtowin/94d0eef7ba018825b280b4b5f2a633ec to your computer and use it in GitHub Desktop.

Select an option

Save freedomtowin/94d0eef7ba018825b280b4b5f2a633ec to your computer and use it in GitHub Desktop.
Example of creating a Gist using Python
use my_proc_macros_lib::CustomDerive;
#[derive(CustomDerive)]
struct Person {
    name: String,
    age: u32,
}
pub fn test_custom_derive() {
    let _p = Person::default();
    Person::hello_macro(&_p);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment