specs_derive

Derive Macro ConvertSaveload

Source
#[derive(ConvertSaveload)]
Expand description

Custom derive macro for the ConvertSaveload trait.

Requires Entity, ConvertSaveload, Marker and NoError to be in a scope.

§Example

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

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