[][src]Macro graphene_sgx::impl_struct

macro_rules! impl_struct {
    ($($(#[$outer_meta:meta])* pub struct $s:ident {
        $(
            $(#[$inner_meta:meta])* $v:vis $name:ident: $field:ty,
        )*
    })*) => { ... };
}

Converts struct definition into a C-compatible one. repr(C) is added, as well as bitwise-zero Default initialization and bitwise-copy Clone.