#[derive(SchemaRead)]
{
// Attributes available to this derive:
#[wincode]
}
Expand description
Implement SchemaRead for a struct or enum.
When the type has #[wincode(context = "ContextType")], this implements
SchemaReadContext instead. Fields marked with #[wincode(context)] receive
that context; unmarked fields continue to use SchemaRead.
See the wincode crate’s derive-attribute documentation for details and examples.