[][src]Macro replacer::rust_struct

macro_rules! rust_struct {
    ($_name:ident; $placeholder:ident; $($element: ident: $ty: ty),*;) => { ... };
}

Template macro for replacing a Rust struct with a placeholder struct that can be compiled.

replacer::rust_struct!(replace_with_struct; Point; x: i32, y: i32;);