rust-objc icon indicating copy to clipboard operation
rust-objc copied to clipboard

Add custom derive for Encode

Open SSheldon opened this issue 8 years ago • 0 comments

Implementing derive for custom structs is tedious, but all the information it needs is in the declaration of the struct: the name, and the type and order of its members. We should be able to create a custom derive procedural macro to allow #[derive(Encode)].

SSheldon avatar Feb 05 '17 21:02 SSheldon