Function flatbox_ecs::try_serialize_id
source · pub fn try_serialize_id<T, I, S>(
archetype: &Archetype,
id: &I,
out: &mut S
) -> Result<(), <S as SerializeTuple>::Error>
Expand description
If archetype
has T
components, serialize id
into S