use serde::{Deserialize, Serialize}; use specs::{Component, VecStorage}; use std::marker::Send; #[derive(Copy, Clone, Debug, Hash, Serialize, Deserialize)] pub struct Last(pub C); impl Component for Last { type Storage = VecStorage; }