Function hecs::serialize::column::try_serialize_id [−][src]
pub fn try_serialize_id<T, I: ?Sized, S>(
archetype: &Archetype,
id: &I,
out: &mut S
) -> Result<(), S::Error> where
T: Component,
I: Serialize + ?Sized,
S: SerializeTuple,
This is supported on crate feature
column-serialize
only.Expand description
If archetype
has T
components, serialize id
into S