[][src]Derive Macro specs::ConvertSaveload

#[derive(ConvertSaveload)]

Custom derive macro for the ConvertSaveload trait.

Requires Entity, ConvertSaveload, Marker to be in a scope

Example

This example is not tested
use specs::{Entity, saveload::{ConvertSaveload, Marker}};

#[derive(ConvertSaveload)]
struct Target(Entity);