#[derive(ConvertSaveload)]
{
    // Attributes available to this derive:
    #[convert_save_load_attr]
    #[convert_save_load_skip_convert]
}
Expand description

Custom derive macro for the ConvertSaveload trait.

Requires Entity, ConvertSaveload, Marker to be in a scope

Example

use specs::{Entity, saveload::{ConvertSaveload, Marker}};

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