[][src]Derive Macro structview_derive::View

#[derive(View)]

Derive structview::View on a struct or union.

To ensure safety, this derive:

  • ensures the deriving type is a struct or a union
  • ensures the deriving type is repr(C)
  • ensures that all fields implement structview::View