[−][src]Derive Macro specs_derive::ConvertSaveload
#[derive(ConvertSaveload)]
Custom derive macro for the ConvertSaveload
trait.
Requires Entity
, ConvertSaveload
, Marker
and NoError
to be in a scope.
Example
ⓘThis example is not tested
use specs::{Entity, saveload::{ConvertSaveload, Marker}, error::NoError}; #[derive(ConvertSaveload)] struct Target(Entity);