Skip to content

SDRust/June-2017-challenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Procedural Macros & Custom Derive Challenge

Objectives

  • Implement the CustomDebug derive to output the fields of a struct in a custom way.
    • The CustomDebug derive will implement the Debug trait for the struct.
    • Use syn::DeriveInput to get the fields of the struct.
    • Iterate over each field and output the field in a nice way.
  • Extra: Use custom attributes to affect your CustomDebug output.
    • Only output fields that are tagged with the #[debug] attribute.

Helpful Documentation

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages